Skip to content

boutetnico/ansible-role-restic

Repository files navigation

tests Ansible Galaxy

ansible-role-restic

This role installs Restic.

Requirements

Ansible 2.10 or newer.

Supported Platforms

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