Moving ansible playbook stuff to its new resting place
This commit is contained in:
14
ansible/playbooks/pull-s3-buckets.yml
Normal file
14
ansible/playbooks/pull-s3-buckets.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user