From 77c62cabd9addef25e663dc4abfa664d7093ccc3 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sun, 9 Aug 2020 01:03:13 -0400 Subject: [PATCH] Be more clear on which monit handler to call --- roles/monit/handlers/main.yml | 2 +- roles/monit/tasks/dispatcher.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/monit/handlers/main.yml b/roles/monit/handlers/main.yml index f7dfbb1..88f5794 100644 --- a/roles/monit/handlers/main.yml +++ b/roles/monit/handlers/main.yml @@ -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 diff --git a/roles/monit/tasks/dispatcher.yml b/roles/monit/tasks/dispatcher.yml index 64b5d13..467b5b6 100644 --- a/roles/monit/tasks/dispatcher.yml +++ b/roles/monit/tasks/dispatcher.yml @@ -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 \ No newline at end of file + - monit-wireguard