Refactored git clone to Kevin's Package Manager (Draft not fully tested)

This commit is contained in:
2025-04-01 14:40:04 +02:00
parent 659c24eb14
commit 526f1c952d
21 changed files with 229 additions and 48 deletions

View File

@@ -2,7 +2,7 @@
## Description
This Ansible role pulls the [directory-validator](https://github.com/kevinveenbirkenbach/directory-validator.git) repository to a predefined location. It is used by the backup-docker-to-local and cleanup-failed-docker-backups roles to verify whether backups have been successfully created.
This Ansible role installs the [directory-validator](https://github.com/kevinveenbirkenbach/directory-validator.git). It is used by the backup-docker-to-local and cleanup-failed-docker-backups roles to verify whether backups have been successfully created.
## Overview

View File

@@ -23,4 +23,5 @@ galaxy_info:
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
dependencies: []
dependencies:
- package-manager

View File

@@ -1,9 +1,6 @@
- name: pull directory-validator.git
git:
repo: "https://github.com/kevinveenbirkenbach/directory-validator.git"
dest: "{{backup_directory_validator_folder}}"
update: yes
ignore_errors: true
- name: install directory-validator
command:
cmd: "pkgmgr install directory-validator"
when: run_once_backup_directory_validator is not defined
- name: run the backup_directory_validator tasks once