xoxys.alertmanager/handlers/main.yml

19 lines
362 B
YAML
Raw Normal View History

2021-06-02 22:01:24 +00:00
---
- name: Restart Alertmanager Service
service:
2021-06-02 22:01:24 +00:00
name: alertmanager
state: restarted
daemon_reload: yes
enabled: yes
listen: __alertmanager_restart
become: True
become_user: root
2021-06-05 20:54:19 +00:00
- name: Reload Alertmanager Service
service:
name: alertmanager
state: reloaded
2021-06-05 21:05:46 +00:00
listen: __alertmanager_reload
2021-06-05 20:54:19 +00:00
become: True
become_user: root