mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
add import status
This commit is contained in:
committed by
Steve Smith
parent
bce7dbc7af
commit
0a3e855592
@@ -50,4 +50,13 @@
|
||||
force_basic_auth: yes
|
||||
body_format: json
|
||||
return_content: yes
|
||||
register: import_status
|
||||
register: import_status
|
||||
until: "'COMPLETED' in import_status.content"
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- name: create lock file
|
||||
file:
|
||||
path: "{{ atl_product_home_shared }}/data/migration/import/lock.file"
|
||||
state: touch
|
||||
when: import_status.state = 'COMPLETED'
|
||||
Reference in New Issue
Block a user