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