From 989167efcbca2fd20d700a2561bfcaeb58ebc993 Mon Sep 17 00:00:00 2001 From: Andy Rajagopalan Date: Fri, 6 Dec 2019 11:37:08 -0800 Subject: [PATCH] correceted url in uri module --- roles/bitbucket_dataset_restore/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/bitbucket_dataset_restore/tasks/main.yml b/roles/bitbucket_dataset_restore/tasks/main.yml index 1787862..471bf00 100644 --- a/roles/bitbucket_dataset_restore/tasks/main.yml +++ b/roles/bitbucket_dataset_restore/tasks/main.yml @@ -19,7 +19,7 @@ - name: Invoke Import API uri: - url: "{{ atl_bitbucket_dataset_url }}/rest/api/1.0/migration/imports" + url: "{{ atl_bitbucket_baseurl }}/rest/api/1.0/migration/imports" user: admin password: "{{ atl_bitbucket_admin_password }}" method: POST @@ -33,8 +33,8 @@ until: output.status == 200 retries: 6 delay: 15 - #failed_when: output.json.state != 'INITIALISING' - failed_when: "'INITIALISING' not in output.content" + failed_when: output.json.state != 'INITIALISING' + #failed_when: "'INITIALISING' not in output.content" - name: get status of import debug: var=output