diff --git a/infra/static-vultr/ansible/playbooks/pull-s3-buckets.yml b/infra/static-vultr/ansible/playbooks/pull-s3-buckets.yml index 90717b3..61a7016 100644 --- a/infra/static-vultr/ansible/playbooks/pull-s3-buckets.yml +++ b/infra/static-vultr/ansible/playbooks/pull-s3-buckets.yml @@ -2,6 +2,10 @@ - hosts: webhost remote_user: root tasks: + - name: Copy pull script + copy: + src: ../scripts/pull-down-s3.sh + dest: /opt/nginx/pull-down-s3.sh - name: Pull down all sites from S3 shell: bash /opt/nginx/pull-down-s3.sh {{ item }} loop: diff --git a/infra/static-vultr/ansible/playbooks/setup-s3-scripts.yml b/infra/static-vultr/ansible/playbooks/setup-s3-scripts.yml deleted file mode 100644 index ef75aac..0000000 --- a/infra/static-vultr/ansible/playbooks/setup-s3-scripts.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- hosts: webhost - remote_user: root - tasks: - - name: Copy pull script - copy: - src: ../scripts/pull-down-s3.sh - dest: /opt/nginx/pull-down-s3.sh