ansible/roles/prometheus/handlers/main.yml

11 lines
183 B
YAML

---
- name: Restart prometheus
systemd:
name: prometheus.service
state: restarted
- name: Reload prometheus
systemd:
name: prometheus.service
state: reloaded
...