ansible/roles/prometheus/handlers/main.yml

11 lines
225 B
YAML

---
- name: Reload systemd
systemd: daemon_reload=yes
- name: Restart prometheus
service: name=prometheus state=restarted
- name: Restart prometheus-pve-exporter
service: name=prometheus-pve-exporter state=restarted