Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation

This commit is contained in:
2025-07-08 23:43:13 +02:00
parent 6b87a049d4
commit 563d5fd528
1242 changed files with 2301 additions and 1355 deletions

View File

@@ -9,7 +9,7 @@ This role cleans up failed Docker backups by pulling a [Git repository](https://
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.
- Integrates with the [generic-timer](../generic-timer/README.md) role to schedule periodic cleanup.
- Works in conjunction with the backup-directory-validator role for additional verification.
## Purpose

View File

@@ -22,6 +22,6 @@ galaxy_info:
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
dependencies:
- systemd-notifier
- system-maintenance-lock
- alert-core
- maintenance-lock
- backup-directory-validator

View File

@@ -29,9 +29,9 @@
service_name: "{{ role_name }}"
when: run_once_cleanup_failed_docker_backups is not defined
- name: "include role for systemd-timer for {{service_name}}"
- name: "include role for generic-timer for {{service_name}}"
include_role:
name: systemd-timer
name: generic-timer
vars:
on_calendar: "{{on_calendar_cleanup_failed_docker}}"
when: run_once_cleanup_failed_docker_backups is not defined

View File

@@ -1,6 +1,6 @@
[Unit]
Description=Cleaning up failed docker volume backups
OnFailure=systemd-notifier.cymais@%n.service
OnFailure=alert-core.cymais@%n.service
[Service]
Type=oneshot