Set up (the latest version of) duplicity in Ubuntu systems.
software-properties-common
(will be installed)dirmngr
(will be installed)
when using duplicity_install_method: ppa
-
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
-
duplicity_install_method
: [default:native
]: The way to install duplicity (e.g.native
(from Ubuntu repo),ppa
(ppa:duplicity-team/duplicity-release-git
,> 16.04
only), orpip
) -
duplicity_pip_dependencies_python
: [default:['duplicity==0.8.18']
]: Pip dependencies to install. Only relevant when usingduplicity_install_method: pip
-
duplicity_install
: [default:[]
]: Additional packages to install (e.g.ncftp
)
None
---
- hosts: all
roles:
- oefenweb.duplicity
---
- hosts: all
roles:
- oefenweb.duplicity
vars:
duplicity_install_method: ppa
---
- hosts: all
roles:
- oefenweb.duplicity
vars:
duplicity_install_method: pip
# Always install latest
duplicity_pip_dependencies_python:
- duplicity
MIT
Mischa ter Smitten
Are welcome!