infra/ansible/playbooks/pull-s3-buckets.yml

15 lines
353 B
YAML
Raw Normal View History

2024-04-28 01:40:42 +00:00
---
- hosts: webhost
remote_user: root
tasks:
2024-04-28 01:47:30 +00:00
- name: Copy pull script
copy:
src: ../scripts/pull-down-s3.sh
dest: /opt/nginx/pull-down-s3.sh
2024-04-28 01:40:42 +00:00
- name: Pull down all sites from S3
shell: bash /opt/nginx/pull-down-s3.sh {{ item }}
loop:
- shockrah.xyz
- resume.shockrah.xyz
- temper.tv