mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITSD-94667 Change boolean style using only one test for logic
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user