mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Removed directory-validator dependencies because it's installed via pkgmgr
This commit is contained in:
		| @@ -5,7 +5,6 @@ | ||||
|   - sys-bkp-provider | ||||
|   - sys-ctl-alm-compose | ||||
|   - sys-lock | ||||
|   - sys-svc-directory-validator | ||||
|  | ||||
| - include_tasks: 02_pkgmgr_routines.yml | ||||
|   when: backup_docker_to_local_folder is not defined | ||||
|   | ||||
| @@ -4,7 +4,6 @@ | ||||
|   loop: | ||||
|     - sys-ctl-alm-compose | ||||
|     - sys-lock | ||||
|     - sys-svc-directory-validator | ||||
|     - sys-daemon | ||||
|  | ||||
| - name: "pkgmgr install '{{ CLEANUP_FAILED_BACKUPS_PKG }}'" | ||||
|   | ||||
| @@ -1,20 +0,0 @@ | ||||
| # Backup Directory Validator | ||||
|  | ||||
| ## Description | ||||
|  | ||||
| This Ansible role installs the [directory-validator](https://github.com/kevinveenbirkenbach/directory-validator.git). 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. | ||||
| @@ -1,24 +0,0 @@ | ||||
| --- | ||||
| galaxy_info: | ||||
|   author: "Kevin Veen-Birkenbach" | ||||
|   description: "Setup the directory validator to validate backup directories" | ||||
|   license: "Infinito.Nexus NonCommercial License" | ||||
|   license_url: "https://s.infinito.nexus/license" | ||||
|   company: | | ||||
|     Kevin Veen-Birkenbach | ||||
|     Consulting & Coaching Solutions | ||||
|     https://www.veen.world | ||||
|   min_ansible_version: "2.9" | ||||
|   platforms: | ||||
|     - name: Linux | ||||
|       versions: | ||||
|         - all | ||||
|   galaxy_tags: | ||||
|     - backup | ||||
|     - validator | ||||
|     - directory | ||||
|     - git | ||||
|     - automation | ||||
|   repository: "https://s.infinito.nexus/code" | ||||
|   issue_tracker_url: "https://s.infinito.nexus/issues" | ||||
|   documentation: "https://docs.infinito.nexus" | ||||
| @@ -1,8 +0,0 @@ | ||||
| - block: | ||||
|   - name: "pkgmgr install" | ||||
|     include_role: | ||||
|       name: pkgmgr-install | ||||
|     vars: | ||||
|       package_name: directory-validator   | ||||
|   - include_tasks:  utils/run_once.yml | ||||
|   when: run_once_sys_svc_directory_validator is not defined | ||||
		Reference in New Issue
	
	Block a user