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