ansible/roles/unhb_backup_scripts/restic_scripts/templates/restic-prune.sh.j2

6 lines
138 B
Django/Jinja
Executable file

#!/bin/bash
source /opt/scripts/restic/restic.env
restic forget --prune --keep-within 1m --host={{ ansible_hostname }}
echo "done! :)"