computer-playbook/roles/sys-svc-directory-validator
Kevin Veen-Birkenbach 2569abc0be
Refactor systemctl services and timers
- Unified service templates into generic systemctl templates
- Introduced reusable filter plugins for script path handling
- Updated path variables and service/timer definitions
- Migrated roles (backup, cleanup, repair, etc.) to use systemctl role
- Added sys-daemon role for core systemd cleanup
- Simplified timer handling via sys-timer role

Note: This is a large refactor and some errors may still exist. Further testing and adjustments will be needed.
2025-08-18 21:22:16 +02:00
..

Backup Directory Validator

Description

This Ansible role installs the directory-validator. It is used by the sys-ctl-bkp-docker-2-loc and sys-ctl-cln-faild-bkps roles to verify whether backups have been successfully created.

Overview

The role retrieves the latest version of the directory-validator from its Git repository and installs it into the designated folder (configured via the backup_directory_validator_folder variable). A fact is set to ensure that the repository is pulled only once per playbook run.

Purpose

The primary purpose of this role is to validate backup directories. By fetching the directory-validator tool, it enables dependent roles to assess the integrity and success of backup operations.

Features

  • Git Repository Pull: Automatically pulls the latest version of the directory-validator from Git.
  • Idempotent Execution: Ensures that the repository is fetched only once per playbook run.
  • Backup Verification: Serves as a validation step for other sys-bkp-related roles.
  • Configurable Destination: The target folder is customizable via the backup_directory_validator_folder variable.