computer-playbook/roles/native-pull-remote-backups/templates/pull-remote-backups.sh

8 lines
196 B
Bash

#!/bin/bash
hosts="{{pull_remote_backups_hosts}}";
errors=0
for host in $hosts; do
bash /usr/local/bin/pull-remote-backup/pull-remote-backup.sh $host || ((errors+=1));
done;
exit $errors;