infrastructure/playbooks/roles/backup/templates/backup.sh.j2
Tobias Reisinger 4104057771
Fix pre-commit hooks and move directories
roles/ and inventory/ are now in playbooks/
also fixed issues reported by ansible-lint
2024-10-14 18:31:36 +02:00

12 lines
239 B
Django/Jinja

#!/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