aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/client_create_scripts_each.yml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-06-27 15:22:45 +0200
committerColin Wilk <colin@wilk.cx>2026-06-27 16:55:53 +0200
commita22ff185f9836023817f9d4f8df3157b948f8cf2 (patch)
treeb51ce1fff12bc245ba024ab9db793bbdd8a8acae /tasks/client_create_scripts_each.yml
parent2ff66fc090110dcf384e74bc26e73481eb780253 (diff)
downloadansible-role-borgbackup-a22ff185f9836023817f9d4f8df3157b948f8cf2.tar.gz
ansible-role-borgbackup-a22ff185f9836023817f9d4f8df3157b948f8cf2.zip
borg!: support multiple backups to same target
This brings support for multiple backups pointing to the same borg server, different repositories, from the same client. We support this by parsing the SSH authorized key file first and appending allowed repositories to allow independent definitions of the borg targets. So that the decryption_keys do not clash we include the repository name as well as the host in the key. This will lead to new keys being created for existing hosts in the new format. Old Format: {{ combine({inventory_hostname: borg_keys.stdout}) }} New Format: {{ combine({(inventory_hostname ~ '_' ~ borg_repo_name): borg_keys.stdout}) }} If upgrading from an older version that used just the hostname as the key, your existing `decryption_keys.yml` can be manually removed once the new format is also added.
Diffstat (limited to 'tasks/client_create_scripts_each.yml')
0 files changed, 0 insertions, 0 deletions