add |bool filter to conditionals

This commit is contained in:
AndrewPaglusch
2021-08-27 16:43:40 +00:00
parent bc1ef10c3e
commit 9993ab09e2
2 changed files with 3 additions and 3 deletions

View File

@@ -69,11 +69,11 @@
owner: root
group: root
mode: '0755'
when: nebula_install_check_cron
when: nebula_install_check_cron|bool
- name: Ensure nebula-check is scheduled via cron
cron:
name: "nebula-check"
minute: "*/5"
job: "/opt/nebula/nebula-check.sh"
when: nebula_install_check_cron
when: nebula_install_check_cron|bool