Skip to content

idiv-biodiversity/ansible-role-rclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: rclone

An Ansible role to install rclone.

Table of Contents

Requirements

  • Ansible 2.9

Role Variables

Without the following variables, rclone will be installed from the package manager of the target hosts distro. Because not all distros are immediately up to date, you can install the bleeding edge binary release from GitHub with these variables:

# use this to force using binary GitHub release instead of package manager
rclone_binary_install_version: 1.64.1

# these are from defaults/main.yml
rclone_binary_install_bin_dir: /usr/local/bin
rclone_binary_install_cache_dir: /var/cache

Dependencies

---

# requirements.yml

roles:

  # optional: only for RHEL et al. distro install
  # - src: geerlingguy.repo-epel

  - name: idiv_biodiversity.rclone
    src: https://github.com/idiv-biodiversity/ansible-role-rclone
    version: v1.0.0

...

Example Playbook

Top-Level Playbook

Write a top-level playbook:

---

- name: file transfer servers
  hosts: transfer
  roles:
    - role: idiv_biodiversity.rclone
      tags:
        - rclone

...

Role Dependency

Define the role dependency in meta/main.yml:

---

dependencies:

  - role: idiv_biodiversity.rclone
    tags:
      - rclone

...

License

MIT

Author Information

This role was created in 2017 by Christian Krause aka wookietreiber at GitHub, HPC cluster systems administrator at the German Centre for Integrative Biodiversity Research (iDiv).