Fixup handlers for restarting monit

This commit is contained in:
KemoNine 2020-08-05 00:15:47 +00:00
parent 5c9dda0a5b
commit 947d334c23
2 changed files with 4 additions and 8 deletions

View file

@ -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"

View file

@ -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