We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fa0a0e commit 76ce66cCopy full SHA for 76ce66c
1 file changed
ansible/roles/nginx/tasks/main.yml
@@ -150,10 +150,10 @@
150
log_options:
151
max-size: "{{ docker_log_max_size }}"
152
153
-- name: Launch first rsync
+- name: Launch first rsync GCP
154
shell: gsutil -m rsync -d -r "gs://{{ sortinghat_assets_bucket }}/" "{{ nginx_gcs_workdir }}"
155
when: cloud_provider == "gcp"
156
157
158
- shell: aws s3 sync "s3://{{ sortinghat_assets_bucket }}/" "{{ nginx_gcs_workdir }}"
+- name: Launch first rsync AWS
+ shell: aws s3 sync --delete "s3://{{ sortinghat_assets_bucket }}/static/" "{{ nginx_gcs_workdir }}"
159
when: cloud_provider == "aws"
0 commit comments