mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-26 21:45:20 +02:00
9 lines
257 B
Django/Jinja
9 lines
257 B
Django/Jinja
#!/bin/bash
|
|
# Pulls the remote backups from multiple hosts
|
|
hosts="{{ DOCKER_BACKUP_REMOTE_2_LOCAL_BACKUP_PROVIDERS | join(' ') }}";
|
|
errors=0
|
|
for host in $hosts; do
|
|
bash {{ DOCKER_BACKUP_REMOTE_2_LOCAL_SCRIPT }} $host || ((errors+=1));
|
|
done;
|
|
exit $errors;
|