Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.09 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.09 KB

Ansible BackupPC Role

Ansible role to install and configure BackupPC. Feedback, bug-reports, requests, is welcomed and can be done via github issues.

Requirements & Dependencies

  • Tested on Mac OS X with Ansible 1.5.
  • Tested on Ubuntu Precise with Ansible 2.2.x and 2.5.0

Variables

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

    }

Tests

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

License

Licensed under the MIT License. See the LICENSE file for details.