rclone
rclone
Ansible role to install and configure rclone backup solution.
Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
Table of content
Requirements
- Minimum Ansible version:
2.10
Default Variables
rclone_arch
Architecture of the package to install
Default value
rclone_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
rclone_backups_extra
List of extra backup jobs
Default value
rclone_backups_extra: []
Example usage
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
rclone_backups_general
List of general backup jobs
Default value
rclone_backups_general: []
Example usage
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
rclone_definitions
List of remote definitions
Default value
rclone_definitions: []
Example usage
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
rclone_package
Download URL for the package to install
Default value
rclone_package: https://github.com/rclone/rclone/releases/download/v{{ rclone_version
}}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}.deb
rclone_version
Version of the release to install
Default value
rclone_version: 1.68.0
Discovered Tags
rclone
Dependencies
- None
License
Apache-2.0
Author
Install
ansible-galaxy install rolehippie/rclone
License
apache-2.0
Downloads
1688
Owner
Ansible role collection of Webhippie