From 3bab0ebbfa8d37cab8ed7b8492cb608f5be63aa6 Mon Sep 17 00:00:00 2001 From: keshavprasadms Date: Tue, 25 May 2021 11:40:38 +0530 Subject: [PATCH] fix: ignore errors for slack config --- ansible/roles/monit/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/monit/tasks/main.yml b/ansible/roles/monit/tasks/main.yml index c7810c0029..632b394868 100755 --- a/ansible/roles/monit/tasks/main.yml +++ b/ansible/roles/monit/tasks/main.yml @@ -39,7 +39,7 @@ - name: Copy slack.sh template: src=slack.sh dest=/etc/monit/slack.sh mode=755 - when: monit_slack_channel is not none + ignore_errors: yes - name: Copy all monit config files template: src="check_{{item}}" dest=/etc/monit/conf.d/