xoxys.prometheus/handlers/main.yml
2021-05-29 13:45:35 +02:00

19 lines
350 B
YAML

---
- name: Restart Prometheus Service
systemd:
name: prometheus
state: restarted
daemon_reload: yes
enabled: yes
listen: __prometheus_restart
become: True
become_user: root
- name: Reload Prometheus Service
systemd:
name: prometheus
state: reloaded
listen: __prometheus_reload
become: True
become_user: root