Skip to content

Commit

Permalink
fix: monit_slack_channel variable none check
Browse files Browse the repository at this point in the history
  • Loading branch information
beepdot authored May 24, 2021
1 parent 9f224d7 commit afef848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/monit/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

- name: Copy slack.sh
template: src=slack.sh dest=/etc/monit/slack.sh mode=755
when: monit_slack_channel is not none

- name: Copy all monit config files
template: src="check_{{item}}" dest=/etc/monit/conf.d/
Expand Down

0 comments on commit afef848

Please sign in to comment.