xoxys.prometheus/handlers/main.yml

19 lines
350 B
YAML
Raw Normal View History

2021-05-29 11:45:35 +00:00
---
- 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