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

@@ -3,4 +3,11 @@
- name: Copy Bitbucket dataset from s3
get_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