mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00: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;
 |