web_build: Rename role
This commit is contained in:
parent
47fccafdcb
commit
3836afecca
3 changed files with 1 additions and 1 deletions
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
SRC=/srv/web-build
|
||||
PROXIES=$(ansible -i /srv/ansible/hosts proxy --list-hosts | \
|
||||
awk '{ if ($2 == "") { print $1 } }')
|
||||
|
||||
for site in "$SRC"/* ; do
|
||||
for proxy in $PROXIES ; do
|
||||
rsync -av --delete --progress "$site" "$proxy:/srv/web/"
|
||||
done
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue