mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized .mds and meta/main.yml for cleanup roles
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
# role cleanup-backups-timer
|
||||
# Cleanup Backups Timer
|
||||
|
||||
Timer for cleaning up old backups
|
||||
## Description
|
||||
|
||||
This role sets up a systemd timer to schedule the periodic cleanup of old backups. It leverages the cleanup-backups-service role to perform the actual cleanup operation.
|
||||
|
||||
## Overview
|
||||
|
||||
Optimized for automated maintenance, this role:
|
||||
- Sets a fact for the service name.
|
||||
- Integrates with the [systemd-timer](../systemd-timer/README.md) role to schedule cleanup-backups 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 cleanup-backups-service role.
|
||||
- **Idempotency:** Ensures the timer tasks execute only once per playbook run.
|
||||
|
@@ -1,2 +1,25 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Schedules periodic cleanup of old backups by configuring a systemd timer to trigger the cleanup-backups-service role."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Linux
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- timer
|
||||
- backup
|
||||
- cleanup
|
||||
- automation
|
||||
repository: "https://s.veen.world/cymais"
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- cleanup-backups-service
|
||||
|
Reference in New Issue
Block a user