mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Optimized .mds and meta/main.yml for cleanup roles
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
# Docker Volume Backup Cleanup
|
||||
This script cleans up failed docker backups.
|
||||
It uses https://github.com/kevinveenbirkenbach/cleanup-failed-docker-backups as base.
|
||||
# Docker Volume Backup Cleanup Role
|
||||
|
||||
## Description
|
||||
|
||||
This role cleans up failed Docker backups by pulling a [Git repository](https://github.com/kevinveenbirkenbach/cleanup-failed-docker-backups) that contains cleanup scripts and configuring a systemd service to execute them. It ensures that failed or incomplete backups are removed to free up disk space and maintain a healthy backup environment.
|
||||
|
||||
## Overview
|
||||
|
||||
Optimized for backup maintenance, this role:
|
||||
- Clones the cleanup-failed-docker-backups repository.
|
||||
- Configures a systemd service to run the cleanup script.
|
||||
- Integrates with the [systemd-timer](../systemd-timer/README.md) role to schedule periodic cleanup.
|
||||
- Works in conjunction with the backup-directory-validator role for additional verification.
|
||||
|
||||
## Purpose
|
||||
|
||||
The primary purpose of this role is to remove failed Docker backups automatically, thereby freeing disk space and preventing backup storage from becoming cluttered with incomplete data.
|
||||
|
||||
## Features
|
||||
|
||||
- **Repository Cloning:** Retrieves the latest cleanup scripts from a Git repository.
|
||||
- **Service Configuration:** Sets up a systemd service to run the cleanup tasks.
|
||||
- **Timer Integration:** Schedules periodic cleanup through a systemd timer.
|
||||
- **Dependency Integration:** Works with backup-directory-validator to enhance backup integrity.
|
@@ -1,3 +1,26 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Cleans up failed Docker backups by configuring a systemd service and timer to execute the cleanup operations periodically."
|
||||
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:
|
||||
- docker
|
||||
- backup
|
||||
- cleanup
|
||||
- automation
|
||||
repository: "https://s.veen.world/cymais"
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- git
|
||||
- systemd-notifier
|
||||
|
Reference in New Issue
Block a user