rolehippie.rclone

rclone

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

This is an Ansible role for installing and setting up the rclone backup solution.

Support

This role was developed with support from my current and former employers such as Cloudpunks GmbH and Proact Deutschland GmbH.

Table of Contents


Requirements

  • You need at least Ansible version 2.10.

Default Variables

rclone_arch

The architecture of the package you want to install.

Default value

rclone_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"

rclone_backups_extra

A list of additional 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

A 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

A list of remote storage 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_encryption: standard
    directory_encryption: True
    primary_password: Mire5vohR0ohn6bei8tahngair4oophae6IefochuquopheemoaH
    secondary_password: iechaa6xoxa9rie1iu0ucoM9Fa2da8thao1hai9Iv8wohphievie

rclone_package

The URL to download the package.

Default value

rclone_package: https://github.com/rclone/rclone/releases/download/v{{ rclone_version }}/rclone-v{{ rclone_version }}-linux-{{ rclone_arch }}.deb

rclone_version

The version of rclone you want to install.

Default value

rclone_version: 1.68.0

Discovered Tags

rclone

Dependencies

  • No dependencies needed.

License

Apache-2.0

Author

Thomas Boerger

Informazioni sul progetto

Ansible role to install and configure rclone backup solution

Installa
ansible-galaxy install rolehippie.rclone
Licenza
apache-2.0
Download
5k
Proprietario
Ansible role collection of Webhippie