mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-686: Fix S3 download.
This commit is contained in:
@@ -14,17 +14,16 @@
|
|||||||
|
|
||||||
- name: Fetch the manifest from S3
|
- name: Fetch the manifest from S3
|
||||||
aws_s3:
|
aws_s3:
|
||||||
|
mode: get
|
||||||
bucket: "{{ atl_backup_manifest_bucket }}"
|
bucket: "{{ atl_backup_manifest_bucket }}"
|
||||||
object: "{{ atl_backup_manifest_path }}"
|
object: "{{ atl_backup_manifest_path }}"
|
||||||
dest: "{{ atl_backup_manifest_dest }}"
|
dest: "{{ atl_backup_manifest_dest }}"
|
||||||
mode: 0600
|
|
||||||
when: atl_backup_manifest_url.scheme == 's3'
|
when: atl_backup_manifest_url.scheme == 's3'
|
||||||
|
|
||||||
- name: Fetch the manifest from remote host
|
- name: Fetch the manifest from remote host
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ atl_backup_manifest_url }}"
|
url: "{{ atl_backup_manifest_url }}"
|
||||||
dest: "{{ atl_backup_manifest_dest }}"
|
dest: "{{ atl_backup_manifest_dest }}"
|
||||||
mode: 0600
|
|
||||||
when: atl_backup_manifest_url.scheme != 's3'
|
when: atl_backup_manifest_url.scheme != 's3'
|
||||||
|
|
||||||
when: atl_backup_manifest_url is defined and atl_backup_manifest_url != ''
|
when: atl_backup_manifest_url is defined and atl_backup_manifest_url != ''
|
||||||
|
|||||||
Reference in New Issue
Block a user