Implemented directory validator

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-29 20:05:57 +01:00
parent 4778bd9f35
commit 2f7f22dcbc
4 changed files with 16 additions and 1 deletions

View File

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

View File

@ -0,0 +1 @@
backup_directory_validator_folder: "{{path_administrator_scripts}}directory-validator/"

View File

@ -3,4 +3,5 @@ dependencies:
- backups-provider
- systemd-notifier
- cleanup-failed-docker-backups
- system-maintenance-lock
- system-maintenance-lock
- backup-directory-validator

View File

@ -2,3 +2,4 @@ dependencies:
- git
- systemd-notifier
- system-maintenance-lock
- backup-directory-validator