ansible-infra/roles/monitoring/handlers/main.yml

14 lines
278 B
YAML
Raw Normal View History

2020-04-13 14:46:45 +02:00
---
# 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