mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Cleanup Failed Backups
This role installs and runs the cleanback CLI to validate and delete failed Docker backups under /Backups/*/backup-docker-to-local.
Validation is performed via dirval; failures can be removed automatically in a non-interactive service execution.
Behavior
- Installs 
cleanbackviapkgmgr. - Runs 
cleanback(main.py) as a systemd oneshot service. - Executes 
--allwith--yesso failing directories are deleted automatically. - No defaults for runtime knobs:
CLEANBACK_TIMEOUT_SECONDS(required)SYS_SCHEDULE_CLEANUP_FAILED_BACKUPS(required)
 - Workers (
CLEANUP_FAILED_BACKUPS_WORKERS) are derived from Ansible facts only (no arbitrary defaults). Facts must be gathered.