Sets up an rsyncd-based backup target. This role is highly opinionated, and therefore probably not fit for mass consumption.
Ansible version 2.0 or higher.
Available variables are listed below, along with their default values (see
defaults/main.yml
for more info):
dubzland_backup_server_root: "/backups"
Location where all backups will be stored on the server.
dubzland_backup_server_clients: []
List of clients this server will handle backups for. See defaults/main.yml
for an example.
None
- hosts: backup-servers
become: yes
roles:
- role: dubzland-backup_server
vars:
dubzland_backup_server_root: "/backups"
dubzland_backup_server_clients:
- client1.dubzland.net
MIT