Ansible role to install and configure rclone backup solution.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Minimum Ansible version:
2.10
Architecture of the package to install
rclone_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
List of extra backup jobs
rclone_backups_extra: []
rclone_backups_extra:
- name: example
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
content: |
exit 1
- name: example-from-url
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
url: http://example.com/example.yml
- name: example-from-template
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
src: path/to/template.j2
- name: example-to-remove
state: absent
List of general backup jobs
rclone_backups_general: []
rclone_backups_general:
- name: example
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
content: |
exit 1
- name: example-from-url
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
url: http://example.com/example.yml
- name: example-from-template
minute: "0"
hour: "6"
day: "*"
month: "*"
weekday: "*"
src: path/to/template.j2
- name: example-to-remove
state: absent
List of remote definitions
rclone_definitions: []
rclone_definitions:
- name: flexvault
endpoint: https://s3.tms.proactcloud.de
access_key: 8OK3V7PXMFDUTJJ7O4MT
secret_key: aCP5DMfw1-usOPkcu+wHSaRkgbAHY5O4rOKPCK6+
bucket: backups
filename_ecryption: standard
directory_encryption: True
primary_password: Mire5vohR0ohn6bei8tahngair4oophae6IefochuquopheemoaH
secondary_password: iechaa6xoxa9rie1iu0ucoM9Fa2da8thao1hai9Iv8wohphievie
Download URL for the package to install
rclone_package: https://github.com/rclone/rclone/releases/download/v{{ rclone_version
}}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}.deb
Version of the release to install
rclone_version: 1.68.2
rclone
- None
Apache-2.0