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

@@ -38,7 +38,6 @@ atl_servicedesk_metadata_url: "{{ atl_servicedesk_url_map[atl_product_version] |
atl_install_jsd_as_obr: false
atl_source_obr_from_marketplace: true
atl_source_obr_from_url: false
atl_servicedesk_download_file: "{{ atl_installer_temp }}/jira-servicedesk.{{ atl_product_version }}.obr"
force_version_update: false

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: