Ansible role for Drone.io
Go to file
2021-04-05 21:59:39 +02:00
defaults add defaults 2021-04-05 21:59:39 +02:00
handlers initial 2021-04-05 21:59:39 +02:00
meta initial 2021-04-05 21:59:39 +02:00
tasks initial 2021-04-05 21:59:39 +02:00
templates initial 2021-04-05 21:59:39 +02:00
tests initial 2021-04-05 21:59:39 +02:00
vars initial 2021-04-05 21:59:39 +02:00
.gitignore .gitignore 2021-04-05 21:59:39 +02:00
LICENSE Initial commit 2021-04-05 21:36:31 +02:00
README.md fill README.md with useful information 2021-04-05 21:59:39 +02:00

Drone

Docker based installation of Drone.io and Docker Drone Runner

Requirements

Docker needs to be available on target machine.

Role Variables

Variable Description Default
letsencrypt.staging Create staging certificate. true
letsencrypt.email Email address to declare when creating certificate. ""
drone_env.DRONE_GITEA_SERVER Gitea server to connect to. https://git.example.com
drone_env.DRONE_GITEA_CLIENT_ID Client ID for gitea server no_valid_id
drone_env.DRONE_GITEA_CLIENT_SECRET Client secret used to conntect to gitea server very_secret
drone_env.DRONE_RPC_SECRET Secret for drone runners to use when connecting to drone server even_more_secret

Example Playbook

- hosts: drone
  roles:
     - { role: drone, tags: [drone] }

License

MIT