xoxys.prometheus/handlers/main.yml

19 lines
350 B
YAML
Raw Permalink Normal View History

2021-05-29 11:45:35 +00:00
---
- name: Restart Prometheus Service
service:
2021-05-29 11:45:35 +00:00
name: prometheus
state: restarted
daemon_reload: yes
enabled: yes
listen: __prometheus_restart
become: True
become_user: root
- name: Reload Prometheus Service
service:
2021-05-29 11:45:35 +00:00
name: prometheus
state: reloaded
listen: __prometheus_reload
become: True
become_user: root