restic

restic logo

Ansible Role: restic

License Ansible Role GitHub tag

Description

Deploy restic - fast, secure, efficient backup program.

Requirements

  • Ansible > 2.2
  • bzip2 installed on deployer machine (same one where ansible is installed)

Role Variables

All variables which can be overridden are stored in defaults/main.yml file as well as in table below.

Name Default Value Description
restic_version 0.8.1 restic package version
restic_user "root" system user to run restic
restic_group "root" system group to run restic
restic_install_path "/usr/local/bin" directory where restic binary will be installed
restic_repos [] restic repositories and cron jobs configuration. More in defaults/main.yml

Security

To ensure high security this role can allow restic to be run as different user than root and still allowing read-only access to files. This is implemented by following PR#1483 from restic repository.

Playbook

Use it in a playbook as follows:

- hosts: all
  become: yes
  roles:
    - kibatic.restic

Contributing

See contributor guideline.

License

This project is licensed under MIT License. See LICENSE for more details.

Install
ansible-galaxy install kibatic/ansible-restic
GitHub repository
License
mit
Downloads
39
Owner
Ajoutez de l'intelligence à vos systèmes