https://github.com/boutetnico/ansible-role-restic
Install Restic with Ansible.
https://github.com/boutetnico/ansible-role-restic
ansible backup debian restic ubuntu
Last synced: 6 months ago
JSON representation
Install Restic with Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-restic
- Owner: boutetnico
- License: mit
- Created: 2019-12-17T10:29:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T14:18:43.000Z (about 1 year ago)
- Last Synced: 2024-12-28T11:16:17.876Z (11 months ago)
- Topics: ansible, backup, debian, restic, ubuntu
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/boutetnico/ansible-role-restic/actions?query=workflow%3A%22Test+ansible+role%22)
[](https://galaxy.ansible.com/boutetnico/restic)
ansible-role-restic
===================
This role installs [Restic](https://restic.net/).
Requirements
------------
Ansible 2.10 or newer.
Supported Platforms
-------------------
- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)
Role Variables
--------------
| 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 | |
Dependencies
------------
None
Example Playbook
----------------
- hosts: all
roles:
- ansible-role-restic
restic_password_files:
- path: /etc/restic/repo-password
password: secret
Testing
-------
molecule test
License
-------
MIT
Author Information
------------------
[@boutetnico](https://github.com/boutetnico)