Fix pre-commit hooks and move directories

roles/ and inventory/ are now in playbooks/
also fixed issues reported by ansible-lint
This commit is contained in:
Tobias Reisinger 2024-10-14 18:30:24 +02:00
parent dc398ddb6e
commit 4104057771
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
123 changed files with 91 additions and 39 deletions
playbooks/roles/backup/templates

View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
{{ backup_hc_command_start }}
if autorestic backup -av --ci
then
{{ backup_hc_command_success }}
{{ backup_gatus_command_success }}
else
{{ backup_hc_command_fail }}
{{ backup_gatus_command_fail }}
fi