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
service:
name: "monit"
state: "{{ item }}"
loop:
- stopped
- started
listen: "reconfigure monit"
state: "restarted"

View file

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