2021-06-02 22:01:24 +00:00
|
|
|
---
|
|
|
|
- name: Restart Alertmanager Service
|
2021-06-05 13:30:30 +00:00
|
|
|
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
|