Add grafana role
This commit is contained in:
parent
d0f3d828df
commit
b818249d82
3 changed files with 52 additions and 0 deletions
11
roles/grafana/handlers/main.yml
Normal file
11
roles/grafana/handlers/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: restart grafana
|
||||
service:
|
||||
name: grafana
|
||||
state: restarted
|
||||
when: "'handler' not in ansible_skip_tags"
|
||||
|
||||
- name: reload nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
Loading…
Add table
Add a link
Reference in a new issue