https://github.com/oefenweb/ansible-duplicity
Ansible role to set up (the latest version of) duplicity in Ubuntu systems
https://github.com/oefenweb/ansible-duplicity
ansible backup duplicity duplicity-backup ubuntu
Last synced: 11 months ago
JSON representation
Ansible role to set up (the latest version of) duplicity in Ubuntu systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-duplicity
- Owner: Oefenweb
- License: mit
- Created: 2015-05-01T10:48:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:03:05.000Z (over 2 years ago)
- Last Synced: 2025-04-07T18:22:48.566Z (about 1 year ago)
- Topics: ansible, backup, duplicity, duplicity-backup, ubuntu
- Language: Dockerfile
- Size: 118 KB
- Stars: 6
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## duplicity
[](https://github.com/Oefenweb/ansible-duplicity/actions?query=workflow%3ACI)
[](https://galaxy.ansible.com/Oefenweb/duplicity)
Set up (the latest version of) [duplicity](http://duplicity.nongnu.org/) in Ubuntu systems.
#### Requirements
* `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`
#### Variables
* `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), or `pip`)
* `duplicity_pip_dependencies_python`: [default: `['duplicity==0.8.18']`]: Pip dependencies to install. Only relevant when using `duplicity_install_method: pip`
* `duplicity_install`: [default: `[]`]: Additional packages to install (e.g. `ncftp`)
## Dependencies
None
#### Example(s)
##### Default
```yaml
---
- hosts: all
roles:
- oefenweb.duplicity
```
##### PPA
```yaml
---
- hosts: all
roles:
- oefenweb.duplicity
vars:
duplicity_install_method: ppa
```
##### Pip
```yaml
---
- hosts: all
roles:
- oefenweb.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](https://github.com/Oefenweb/ansible-duplicity/issues)!