infra/ansible/playbooks/pull-s3-buckets.yml
shockrah be13e9e71f
Some checks failed
Actions demo / simple-echo (push) Failing after 1s
Moving ansible playbook stuff to its new resting place
2024-08-17 16:24:41 -07:00

15 lines
353 B
YAML

---
- 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:
- shockrah.xyz
- resume.shockrah.xyz
- temper.tv