add |bool filter to conditionals
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Uninstall Nebula (clean install)
|
- name: Uninstall Nebula (clean install)
|
||||||
include: uninstall.yml
|
include: uninstall.yml
|
||||||
when: nebula_clean_install
|
when: nebula_clean_install|bool
|
||||||
|
|
||||||
- name: Install Nebula on all hosts
|
- name: Install Nebula on all hosts
|
||||||
include: nebula.yml
|
include: nebula.yml
|
||||||
|
|||||||
+2
-2
@@ -69,11 +69,11 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
when: nebula_install_check_cron
|
when: nebula_install_check_cron|bool
|
||||||
|
|
||||||
- name: Ensure nebula-check is scheduled via cron
|
- name: Ensure nebula-check is scheduled via cron
|
||||||
cron:
|
cron:
|
||||||
name: "nebula-check"
|
name: "nebula-check"
|
||||||
minute: "*/5"
|
minute: "*/5"
|
||||||
job: "/opt/nebula/nebula-check.sh"
|
job: "/opt/nebula/nebula-check.sh"
|
||||||
when: nebula_install_check_cron
|
when: nebula_install_check_cron|bool
|
||||||
|
|||||||
Reference in New Issue
Block a user