Files
vps/ansible/roles/restic/defaults/main.yml
T
windyboy e7296e664a feat(ansible): move hosts to healthcheck_profiles list; decouple audit/restic
Inventory now declares the plural healthcheck_profiles list per host (hk2 runs
pdns, rustdesk, hk2aux) instead of a single healthcheck_profile, and carries
the rustdesk server vars (rustdesk_compose_dir/relay/image) plus the rustdesk
host group.

The restic role relied on the removed singular healthcheck_profile var; it now
uses its own restic_backup_profile (set per host to vaultwarden on us2 and pdns
on hk2), so the health-check rename no longer breaks it. audit.yml's summary
labels the host's profile list instead of the singular var.
2026-08-12 21:16:30 +08:00

25 lines
872 B
YAML

---
restic_enabled: false
# Approved Restic source profile (a key of restic_sources) for the host. Set
# per-host in inventory; the role fails if it is not an approved source.
restic_backup_profile: ""
restic_binary: /usr/bin/restic
restic_config_path: /etc/vps-restic/repository.env
restic_state_dir: /var/lib/vps-restic
restic_log_dir: /var/log/vps-restic
restic_backup_on_calendar: '*-*-* 04:30:00'
restic_check_on_calendar: 'Sun *-*-* 05:30:00'
restic_forget_on_calendar: 'Sat *-*-* 05:30:00'
restic_keep_daily: 7
restic_keep_weekly: 4
restic_keep_monthly: 6
restic_sources:
vaultwarden:
- /opt/vaultwarden/backups
- /opt/vaultwarden/vw-data
pdns:
- /opt/pdns/backup
- /opt/pdns/auth/pdns.conf
# Mailcow is deliberately excluded pending its official consistency and restore
# design review. No repository/backend value is supplied by this project.