allow default filter to treat empty string as "false", cast to bool at end

This commit is contained in:
Lee Goolsbee
2021-02-05 12:00:41 -06:00
parent a879291f50
commit 1278cc6cf5

View File

@@ -2,7 +2,7 @@
# Mostly for molecule testing, as skip-tags doesn't work with handlers. # Mostly for molecule testing, as skip-tags doesn't work with handlers.
atl_startup_enable: true atl_startup_enable: true
atl_startup_restart: "{{ lookup('env', 'ATL_STARTUP_RESTART') | bool | default(true) }}" atl_startup_restart: "{{ lookup('env', 'ATL_STARTUP_RESTART') | default(true, true) | bool }}"
atl_startup_script_map: atl_startup_script_map:
jira: "bin/start-jira.sh" jira: "bin/start-jira.sh"