ansible-role-borg-backup/tasks/00_assert.yml
AJ Jordan e179627077 Extract asserts into their own file
These don't really belong in the "install" file.
2025-03-30 12:38:01 +01:00

10 lines
339 B
YAML

---
- name: Ensure legacy hooks aren't used
ansible.builtin.assert:
that:
- borgmatic_failure_command is undefined
- borgmatic_before_backup_command is undefined
- borgmatic_after_backup_command is undefined
msg: Please use the new borgmatic_hooks variable instead of individual before/after/failure hooks.
...