Ansible role to install and configure BackupPC. Feedback, bug-reports, requests, is welcomed and can be done via github issues.
- Tested on Mac OS X with Ansible 1.5.
- Tested on Ubuntu Precise with Ansible 2.2.x and 2.5.0
see defaults/main.yml for variables to overwrite and their explainations
Example role include:
vars:
- backuppc_url: 'http://some.domain.tld'
- backuppc_hosts: [
{ name: 'some.host.tld', os: 'linux', type: 'rsync' }
{ name: 'other.host.tld', os: 'linux', type: 'rsync' }
]
- backuppc_users: [
{ name: 'backuppc', pass: 'secret' }
]
- backuppc_manage_hosts: yes
roles:
- backuppc
}
You can test this role by using the provided Vagrant file in ./tests
bacuppc/tests$ vagrant up <os>
bacuppc/tests$ vagrant ssh <os>
For , you can choose:
- ubuntu-trusty
- ubuntu-xenial
- ubuntu-boinic
- centos7
Licensed under the MIT License. See the LICENSE file for details.