Skip to content

Latest commit

 

History

History
57 lines (32 loc) · 2.21 KB

README.md

File metadata and controls

57 lines (32 loc) · 2.21 KB

ansible-rclone

Build Status

GitHub Open Issues GitHub Stars GitHub Forks

Ansible Role Ansible Role Downloads

ansible role to install rclone

Usage

  1. Clone this repo into your local roles-directory or install via ansible-galaxy install stefangweichinger.rclone.
  2. Add role to the hosts you want rclone installed to.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

install_manpages: "true"

This can be used to toggle the installation of manpages.

rclone_arch: "amd64"

This variable chooses the target architecture (for example 'amd64').

rclone_version: ""

The version of rclone to install. rclone_version is no longer set as a default, but if provided as a variable, can be set to a specific version number or "beta" to install the latest beta version.

Dependencies

None.

Example Playbook

- hosts: rclone-hosts
  roles:
    - rclone

Tests

New tests using molecule

pls feel free to review my first steps into testing the role with molecule additional distros might be added/tested soon

Currently there are two scenarios defined for running molecule:

  • default: runs tests over all defined distros at once, I use this for a local and overall test
  • travis: this one runs one travis-test-job per distro and is called via .travis.yml