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