Add backup role and manage_ssh_keys role

- Borgmatic backup role driven by per-host config in group_vars/all/backup.yml
- manage_ssh_keys role with add/remove paths; remove_ssh_key_playbook.yml uses it

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-15 18:38:11 +02:00
parent f540af580f
commit e43c3aaae3
8 changed files with 81 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
---
# Per-host borgmatic config. Keys must match inventory_hostname.
# Hosts not listed here are skipped by the `backup` role.
# The value under each host is rendered verbatim as the borgmatic
# config file (see https://torsion.org/borgmatic/docs/reference/configuration/).
backup_hosts: {}
# jim:
# source_directories:
# - /home
# - /etc
# repositories:
# - path: ssh://user@backup.example.com/./backups/jim
# keep_daily: 7
# keep_weekly: 4
# keep_monthly: 6