ITSD-94667 Change boolean style using only one test for logic

This commit is contained in:
Glenn Stewart
2022-06-16 11:36:06 +10:00
parent c305a14160
commit 6eca144387
2 changed files with 2 additions and 4 deletions

View File

@@ -3,7 +3,6 @@
- name: Check for alternate obr download url
set_fact:
atl_source_obr_from_marketplace: false
atl_source_obr_from_url: true
when:
- atl_obr_download_url is defined
@@ -48,7 +47,7 @@
atl_obr_filename: "jira-servicedesk-application-{{ atl_jsd_build }}.obr"
when:
- atl_source_obr_from_marketplace
- atl_source_obr_from_marketplace | bool
- name: Source jira-servicedesk obr from alternate url
block:
@@ -65,7 +64,7 @@
debug:
msg="atl_jsd_build={{ atl_jsd_build }}"
when:
- atl_source_obr_from_url
- not atl_source_obr_from_marketplace | bool
- name: is shared_home set ?
debug: