mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
ITOPSENG-395 reordering conditionals
This commit is contained in:
@@ -76,9 +76,9 @@
|
|||||||
- name: "Case: No cached version, or but supplied is higher or forced; use supplied"
|
- name: "Case: No cached version, or but supplied is higher or forced; use supplied"
|
||||||
set_fact:
|
set_fact:
|
||||||
atl_download_version: "{{ atl_product_version }}"
|
atl_download_version: "{{ atl_product_version }}"
|
||||||
when: (not cached.stat.exists) or
|
when: (force_version_update is defined and force_version_update | bool) or
|
||||||
atl_product_version is version(atl_cached_version, '>') or
|
(not cached.stat.exists) or
|
||||||
force_version_update is defined and force_version_update | bool
|
atl_product_version is version(atl_cached_version, '>')
|
||||||
|
|
||||||
- name: "Case: Cached version is higher, ignore supplied"
|
- name: "Case: Cached version is higher, ignore supplied"
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user