Be more clear on which monit handler to call
This commit is contained in:
parent
7d77b38355
commit
77c62cabd9
|
@ -5,6 +5,6 @@
|
||||||
state: "restarted"
|
state: "restarted"
|
||||||
when: not monit_containerized
|
when: not monit_containerized
|
||||||
|
|
||||||
- name: restart monit
|
- name: restart monit containerized
|
||||||
command: /usr/bin/s6-svc -r /var/run/s6/services/monit
|
command: /usr/bin/s6-svc -r /var/run/s6/services/monit
|
||||||
when: monit_containerized
|
when: monit_containerized
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
notify:
|
notify:
|
||||||
- restart monit
|
- restart monit containerized
|
||||||
tags:
|
tags:
|
||||||
- monit-config
|
- monit-config
|
||||||
- name: Setup filesystem monitoring
|
- name: Setup filesystem monitoring
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
loop:
|
loop:
|
||||||
"{{ monit_filesystems }}"
|
"{{ monit_filesystems }}"
|
||||||
notify:
|
notify:
|
||||||
- restart monit
|
- restart monit containerized
|
||||||
tags:
|
tags:
|
||||||
- monit-config
|
- monit-config
|
||||||
- monit-filesystems
|
- monit-filesystems
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
mode: 0600
|
mode: 0600
|
||||||
when: monit_wireguard
|
when: monit_wireguard
|
||||||
notify:
|
notify:
|
||||||
- restart monit
|
- restart monit containerized
|
||||||
tags:
|
tags:
|
||||||
- monit-config
|
- monit-config
|
||||||
- monit-wireguard
|
- monit-wireguard
|
Loading…
Reference in a new issue