/ansible-duplicity

Ansible role to set up (the latest version of) duplicity in Ubuntu systems

MIT LicenseMIT

duplicity

Build Status Ansible Galaxy

Set up (the latest version of) duplicity in Ubuntu systems.

Requirements

  • python-apt

Variables

  • duplicity_install_method: [default: native]: The way to install duplicity (e.g. native (from Ubuntu repo), PPA (ppa:duplicity-team/duplicity-release-git), or pip)

  • duplicity_pip_dependencies_python: [default: ['duplicity==0.8.13']]: Pip dependencies to install. Only relevant when using duplicity_install_method: pip

  • duplicity_install: [default: []]: Additional packages to install (e.g. ncftp)

Dependencies

  • build-essential (will be installed)

  • librsync-dev (will be installed)

  • rdiff (will be installed)

  • gettext (will be installed)

  • python(2|3) (will not be installed)

  • python(2|3)-dev (will not be installed)

  • pip (will not be installed)

when using duplicity_install_method: pip

Example(s)

Default
---
- hosts: all
  roles:
    - duplicity
PPA
---
- hosts: all
  roles:
    - duplicity
  vars:
    duplicity_install_method: ppa
Pip
---
- hosts: all
  roles:
    - duplicity
  vars:
    duplicity_install_method: pip
    # Always install latest
    duplicity_pip_dependencies_python:
      - duplicity

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!