Skip to content

Commit 76ce66c

Browse files
committed
aws - ansible
Signed-off-by: Quan Zhou <quan@bitergia.com>
1 parent 2fa0a0e commit 76ce66c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ansible/roles/nginx/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@
150150
log_options:
151151
max-size: "{{ docker_log_max_size }}"
152152

153-
- name: Launch first rsync
153+
- name: Launch first rsync GCP
154154
shell: gsutil -m rsync -d -r "gs://{{ sortinghat_assets_bucket }}/" "{{ nginx_gcs_workdir }}"
155155
when: cloud_provider == "gcp"
156156

157-
- name: Launch first rsync
158-
shell: aws s3 sync "s3://{{ sortinghat_assets_bucket }}/" "{{ nginx_gcs_workdir }}"
157+
- name: Launch first rsync AWS
158+
shell: aws s3 sync --delete "s3://{{ sortinghat_assets_bucket }}/static/" "{{ nginx_gcs_workdir }}"
159159
when: cloud_provider == "aws"

0 commit comments

Comments
 (0)