initial commit
This commit is contained in:
13
roles/monitoring/handlers/main.yml
Normal file
13
roles/monitoring/handlers/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
# handlers file for roles/prometheus
|
||||
- name: restart grafana
|
||||
service:
|
||||
name: grafana-server
|
||||
state: restarted
|
||||
when: not grafana_service.changed
|
||||
|
||||
- name: restart prometheus
|
||||
service:
|
||||
name: prometheus
|
||||
state: restarted
|
||||
when: not prometheus_service.changed
|
||||
Reference in New Issue
Block a user