system-config/playbooks/roles/backup-server
Monty Taylor ba8c84a5ca Exclude disabled group from backup-server loop
We don't set bup_user for hosts in disabled in the backup role
if they are in the disabled group, so they are not available to
be used in backup-server. We need to also exclude them here.

Change-Id: Ib5fd249533d5d8de0179bf16d61cf88f4c11f301
2020-04-11 14:53:20 -05:00
..
defaults Ansible roles for backup 2019-08-05 16:59:57 +10:00
tasks Exclude disabled group from backup-server loop 2020-04-11 14:53:20 -05:00
README.rst Ansible roles for backup 2019-08-05 16:59:57 +10:00

README.rst

Setup backup server

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

Note that the backup role must have run on each host in the backup group before this role. That role will create a bup_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 bup.

Role Variables