From eec68f6357cda6031216a0965d830e75f57617ef Mon Sep 17 00:00:00 2001 From: Brett Meehan Date: Mon, 21 Oct 2019 13:06:46 +1100 Subject: [PATCH] ITOPSENG-101 ensure the obr var exists and is true before including the associated tasks --- roles/product_install/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/product_install/tasks/main.yml b/roles/product_install/tasks/main.yml index d84895d..6cea478 100644 --- a/roles/product_install/tasks/main.yml +++ b/roles/product_install/tasks/main.yml @@ -149,4 +149,6 @@ - name: Include if jsd is requested to be installed from OBR include_tasks: "jira-servicedesk_as_obr.yml" - when: atl_install_jsd_as_obr.exists and atl_install_jsd_as_obr + when: + - atl_install_jsd_as_obr is defined + - atl_install_jsd_as_obr