mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			870 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			870 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Cleanup Backups Timer
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| This role sets up a systemd timer to schedule the periodic cleanup of old backups. It leverages the sys-ctl-cln-bkps role to perform the actual cleanup operation.
 | |
| 
 | |
| ## Overview
 | |
| 
 | |
| Optimized for automated maintenance, this role:
 | |
| - Sets a fact for the service name.
 | |
| - Integrates with the [sys-timer](../sys-timer/README.md) role to schedule sys-ctl-cln-bkps tasks at defined intervals.
 | |
| 
 | |
| ## Purpose
 | |
| 
 | |
| The primary purpose of this role is to automate the scheduling of backup cleanup operations using a systemd timer, ensuring that backup storage remains within defined limits.
 | |
| 
 | |
| ## Features
 | |
| 
 | |
| - **Timer Scheduling:** Configures a systemd timer to trigger the backup cleanup service.
 | |
| - **Role Integration:** Works in conjunction with the sys-ctl-cln-bkps role.
 | |
| - **Idempotency:** Ensures the timer tasks execute only once per playbook run.
 |