From 5905deb319efa4bf9fb6292a82e0ac107842ccce Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 27 Apr 2024 18:47:30 -0700 Subject: [PATCH] Merging playbooks --- infra/static-vultr/ansible/playbooks/pull-s3-buckets.yml | 4 ++++ infra/static-vultr/ansible/playbooks/setup-s3-scripts.yml | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 infra/static-vultr/ansible/playbooks/setup-s3-scripts.yml 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