This role installs Restic.
Ansible 2.10 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
restic_version | yes | 0.17.3 |
string | |
restic_download_path | yes | /tmp |
string | |
restic_install_path | yes | /usr/local/bin/ |
string | |
restic_dependencies | yes | [bzip2] |
list | |
restic_password_files | yes | [] |
list |
None
- hosts: all
roles:
- ansible-role-restic
restic_password_files:
- path: /etc/restic/repo-password
password: secret
molecule test
MIT