Optimized variable names

This commit is contained in:
2025-08-18 21:26:46 +02:00
parent 2569abc0be
commit 5adce08aea
3 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
# Pulls the remote backups from multiple hosts
hosts="{{ rmt2loc_backup_providers | join(' ') }}";
hosts="{{ DOCKER_BACKUP_REMOTE_2_LOCAL_BACKUP_PROVIDERS | join(' ') }}";
errors=0
for host in $hosts; do
bash {{ DOCKER_BACKUP_REMOTE_2_LOCAL_DIR }}svc-bkp-rmt-2-loc.sh $host || ((errors+=1));
bash {{ DOCKER_BACKUP_REMOTE_2_LOCAL_SCRIPT }} $host || ((errors+=1));
done;
exit $errors;