Merging playbooks

This commit is contained in:
shockrah 2024-04-27 18:47:30 -07:00
parent 3a6cf70062
commit 5905deb319
2 changed files with 4 additions and 8 deletions

View File

@ -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:

View File

@ -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