system-config/playbooks/roles/borg-backup-server
Ian Wienand 476b225fca
borg-backup-server: build borg users betterer
This looks wrong, in hindsight I'm not really sure how it works.
Ansible 6 seems to barf on it.  Make this one evaluated statement.

Change-Id: I7f73bf723af1086fc4473e76614ce30ca14f3d74
2022-11-23 08:26:28 +11:00
..
defaults Add borg-backup roles 2020-07-21 17:36:50 +10:00
files borg-backup: skip .checkpoint archives 2021-11-03 12:39:10 +11:00
tasks borg-backup-server: build borg users betterer 2022-11-23 08:26:28 +11:00
README.rst Add borg-backup roles 2020-07-21 17:36:50 +10:00

README.rst

Setup backup server

This role configures backup server(s) in the borg-backup-server group to accept backups from remote hosts.

Note that the borg-backup role must have run on each host in the borg-backup group before this role. That role will create a borg_user tuple in the hostvars for for each host consisting of the required username and public key.

Each required user gets a separate home directory in /opt/backups. Their authorized_keys file is configured with the public key to allow the remote host to log in and only run borg in server mode.

Role Variables