mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 22:51:05 +01:00
9 lines
218 B
Bash
9 lines
218 B
Bash
#!/bin/bash
|
|
# Pulls the remote backups from multiple hosts
|
|
hosts="{{pull_remote_backups_hosts}}";
|
|
errors=0
|
|
for host in $hosts; do
|
|
bash /usr/local/bin/pull-remote-backup.sh $host || ((errors+=1));
|
|
done;
|
|
exit $errors;
|