Skip to content

Install Rclone with Ansible

Pasquale Carlo Maiorano Picone edited this page Mar 14, 2019 · 2 revisions

Ansible

Rclone could be installed using an Ansible role: https://galaxy.ansible.com/charliemaiors/rclone-ansible.

This role installs Rclone using the package manager if the OS is supported, otherwise will switch to manual installation downloading it from the website.

OSes with Rclone in the package manager (and supported by this role) are:

  • FreeBSD (12-11-10-9)
  • macOS
  • Ubuntu 18
  • Debian
  • Fedora (29-28-27)
  • OpenSUSE leap
  • CentOS/RedHat 7
  • Archlinux
  • Windows

The other distributions are supported via site download.

Example

You can use this playbook to install rclone on a given set of hosts, in this case under the [rclone] section on the ansible hosts file.

- name: Install rclone
  hosts: rclone
  roles:
     - { role: charliemaiors.rclone-ansible }