ansible/roles/prometheus/handlers/main.yaml

12 lines
203 B
YAML

---
- name: restart prometheus
systemd:
name: prometheus.service
daemon_reload: true
state: restarted
- name: reload prometheus
service:
name: prometheus.service
state: reloaded