mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
added user/password details
This commit is contained in:
committed by
Steve Smith
parent
6b9324dbf0
commit
c95fe9412f
@@ -14,9 +14,12 @@
|
||||
|
||||
- name: Invoke Import API
|
||||
uri:
|
||||
url: http://admin:{{ atl_bitbucket_admin_password }}@localhost:7990/rest/api/1.0/migration/imports
|
||||
url: http://localhost:7990/rest/api/1.0/migration/imports
|
||||
user: admin
|
||||
password: "{{ atl_bitbucket_admin_password }}"
|
||||
method: POST
|
||||
follow_redirects: yes
|
||||
force_basic_auth: yes
|
||||
creates: "{{ atl_product_home_shared }}/data/migration/import/lock.file"
|
||||
body: "{ \"archivePath\": \"{{ atl_bitbucket_dataset_url | basename }}\" }"
|
||||
body_format: json
|
||||
@@ -24,5 +27,5 @@
|
||||
register: response
|
||||
until: response.status == 200
|
||||
retries: 6
|
||||
delay: 10
|
||||
delay: 15
|
||||
failed_when: "'INITIALISING' not in response.content"
|
||||
Reference in New Issue
Block a user