add |bool filter to conditionals
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
block:
|
||||
- name: Uninstall Nebula (clean install)
|
||||
include: uninstall.yml
|
||||
when: nebula_clean_install
|
||||
when: nebula_clean_install|bool
|
||||
|
||||
- name: Install Nebula on all hosts
|
||||
include: nebula.yml
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user