mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
ITOPSENG-164 Debug some changes to logic
This commit is contained in:
@@ -159,15 +159,17 @@
|
|||||||
- completed_lock.stat.isdir is defined
|
- completed_lock.stat.isdir is defined
|
||||||
- completed_lock.stat.isdir
|
- completed_lock.stat.isdir
|
||||||
|
|
||||||
# If the binary was never installed, download it to temp location
|
# Fetch binary if required
|
||||||
- name: Installer not on home_shared. Fetch it.
|
- name: download_binary is true so fetch and do all the things
|
||||||
|
block:
|
||||||
|
|
||||||
|
- name: Fetch binary
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ atl_product_download_url }}"
|
url: "{{ atl_product_download_url }}"
|
||||||
dest: "{{ atl_product_temp_download }}"
|
dest: "{{ atl_product_temp_download }}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
force: false
|
force: false
|
||||||
register: atl_product_completed
|
register: atl_product_completed
|
||||||
when: download_binary
|
|
||||||
|
|
||||||
# If product installer was fetched make the moving directory
|
# If product installer was fetched make the moving directory
|
||||||
- name: Create moving_lock.
|
- name: Create moving_lock.
|
||||||
@@ -195,6 +197,8 @@
|
|||||||
when: moving_lock_created is not succeeded or
|
when: moving_lock_created is not succeeded or
|
||||||
( moving_lock_created is succeeded and moving_lock_created.changed == False )
|
( moving_lock_created is succeeded and moving_lock_created.changed == False )
|
||||||
|
|
||||||
|
when: download_binary
|
||||||
|
|
||||||
|
|
||||||
# Move binary block
|
# Move binary block
|
||||||
- name: Move product installer to home_shared
|
- name: Move product installer to home_shared
|
||||||
|
|||||||
Reference in New Issue
Block a user