Fixup handlers for restarting monit
This commit is contained in:
parent
5c9dda0a5b
commit
947d334c23
|
@ -2,8 +2,4 @@
|
|||
- name: restart monit
|
||||
service:
|
||||
name: "monit"
|
||||
state: "{{ item }}"
|
||||
loop:
|
||||
- stopped
|
||||
- started
|
||||
listen: "reconfigure monit"
|
||||
state: "restarted"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- reconfigure monit
|
||||
- restart monit
|
||||
tags:
|
||||
- monit-config
|
||||
- name: Setup filesystem monitoring
|
||||
|
@ -38,7 +38,7 @@
|
|||
loop:
|
||||
"{{ monit_filesystems }}"
|
||||
notify:
|
||||
- reconfigure monit
|
||||
- restart monit
|
||||
tags:
|
||||
- monit-config
|
||||
- monit-filesystems
|
||||
|
@ -50,7 +50,7 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- reconfigure monit
|
||||
- restart monit
|
||||
tags:
|
||||
- monit-config
|
||||
- monit-fim
|
||||
|
|
Loading…
Reference in a new issue