added tasks to setup .netrc file

This commit is contained in:
Andy Rajagopalan
2019-11-05 12:16:17 -08:00
parent 7342dfc234
commit f0e7e7c18e

View File

@@ -4,3 +4,10 @@
get_url: get_url:
url: "{{ atl_bitbucket_dataset_url }}" url: "{{ atl_bitbucket_dataset_url }}"
dest: /media/atl/bitbucket/shared/data/migration/import/ dest: /media/atl/bitbucket/shared/data/migration/import/
- name: Create netrc file
content: "machine localhost username admin password {{ atl_bitbucket_admin_password }}"
dest: "/root/.netrc"
owner: root
group: root
mode: 644