/drone-cli-role

Drone CLI Ansible role

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Drone CLI Ansible role

Basic role syntax check

An Ansible role used to install Drone CLI. Verified to work on CentOS 7, Alpine 3.10 and Ubuntu Bionic instances.

Requirements

A CentOS 7, Alpine 3.10 and Ubuntu Bionic base image.

Role Variables

Variable Required Default Choices Comments
default_retries yes 60 Integer value default number of retries
default_delay yes 60 Integer value default delay in seconds between retries
drone_cli_version yes v1.1.0 String version the release to install from https://github.com/drone/drone-cli/releases
cache_path no /tmp String path used to cache drone cli tar ball

Example Playbook

An example can be found used in my Hands-on DevOps course's box/ansible/box-playbook-1.yml.

- hosts: boxes
  connection: local
  remote_user: vagrant
  roles:
    - common
    - drone-cli

For more information and to see this role put into action checkout my Hands-on DevOps class project.

License

3-Clause BSD License

Author Information

Michael Joseph Walsh mjwalsh@nemonik.com