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

20 lines
290 B
YAML

---
- name: daemon-reload
command: systemctl daemon-reload
- name: restart influxdb
service:
name: influxdb
state: restarted
- name: restart grafana
service:
name: grafana-server
state: restarted
- name: reload nginx
service:
name: nginx
state: reloaded