Merging playbooks
This commit is contained in:
parent
3a6cf70062
commit
5905deb319
@ -2,6 +2,10 @@
|
|||||||
- hosts: webhost
|
- hosts: webhost
|
||||||
remote_user: root
|
remote_user: root
|
||||||
tasks:
|
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
|
- name: Pull down all sites from S3
|
||||||
shell: bash /opt/nginx/pull-down-s3.sh {{ item }}
|
shell: bash /opt/nginx/pull-down-s3.sh {{ item }}
|
||||||
loop:
|
loop:
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user