From 88e7b8751822c243fb53bdacdd036c2be3864390 Mon Sep 17 00:00:00 2001 From: Andy Rajagopalan Date: Thu, 21 Nov 2019 15:25:55 -0800 Subject: [PATCH] remove basic auth --- roles/bitbucket_dataset_restore/tasks/main.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roles/bitbucket_dataset_restore/tasks/main.yml b/roles/bitbucket_dataset_restore/tasks/main.yml index 92e7610..3e42701 100644 --- a/roles/bitbucket_dataset_restore/tasks/main.yml +++ b/roles/bitbucket_dataset_restore/tasks/main.yml @@ -15,11 +15,8 @@ - name: Invoke Import API uri: - url: http://localhost:7990/rest/api/1.0/migration/imports - user: admin - password: "{{ atl_bitbucket_admin_password }}" + url: http://admin:{{ atl_bitbucket_admin_password }}@localhost:7990/rest/api/1.0/migration/imports method: POST - force_basic_auth: yes follow_redirects: yes creates: "{{ atl_product_home_shared }}/data/migration/import/lock.file" body: "{ \"archivePath\": \"{{ atl_bitbucket_dataset_url | basename }}\" }"