mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
add tasks to copy to /tmp/import dir
This commit is contained in:
@@ -1,11 +1,22 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: wait for bitbucket service to start
|
- name: Check if import directory exists
|
||||||
wait_for:
|
stat:
|
||||||
port: 7990
|
path: /tmp/import
|
||||||
delay: 10
|
register: import_dir
|
||||||
|
|
||||||
|
- name: create directory structure if it note exists
|
||||||
|
file:
|
||||||
|
path: /tmp/import
|
||||||
|
state: directory
|
||||||
|
mode: 0644
|
||||||
|
group: root
|
||||||
|
owner: root
|
||||||
|
when: import_dir.stat.exists == false
|
||||||
|
|
||||||
- name: Copy Bitbucket dataset from s3
|
- name: Copy Bitbucket dataset from s3
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ atl_bitbucket_dataset_url }}"
|
url: "{{ atl_bitbucket_dataset_url }}"
|
||||||
dest: /media/atl/bitbucket/shared/data/migration/import/
|
dest: /tmp/import
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user