a simple ansible role for drone without docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
jens ee61b49677 Update 'tasks/main.yml' 5 months ago
defaults download specific version with git 5 months ago
handlers first commit 9 months ago
meta first commit 9 months ago
tasks Update 'tasks/main.yml' 5 months ago
templates added config file for exec crunner 9 months ago
tests first commit 9 months ago
vars first commit 9 months ago
.drone.yml Update '.drone.yml' 9 months ago
README.md download specific version with git 5 months ago

README.md

Build Status

ansible-role-drone

This role installs drone without docker

Requirements

This role requires a database server to to be present where drone can connect to

Role Variables

  • drone_postgress_user: default "{{ inventory_hostname}}"
  • drone_postgress_db: default "{{ inventory_hostname}}"
  • drone_server_host: url where drone will be reachable
  • drone_rpc_secret: something secret
  • drone_integration: 'gitea'
  • drone_gitea_server: url to gitea server
  • drone_gitea_client_id: client id for gitea oauth application
  • drone_gitea_client_secret: client secret for gitea oauth application
  • drone_posgress_data_dir: "/run/postgresql/"
  • drone_user_filter: ""
  • drone_version: "v1.10.1"

Dependencies

None

Example Playbook

- name: "Install drone"
  hosts: drone
  roles:
      - ansible-role-drone
  vars:
      - drone_gitea_server: "https://gitea.example.com"
      - drone_server_host: 'drone.example.com'
      - drone_rpc_host: 'localhost:8080'
      - drone_rpc_proto: 'http'
      - drone_rpc_secret: 'secret'
      - drone_integration: 'gitea'
      - drone_gitea_client_id: client_id
      - drone_gitea_client_secret: client_secret
      - drone_posgress_data_dir: "/run/postgresql/"
      - drone_user_filter: "jens"

License

GPL-v3

Author Information

Jens (gitea.caret.be)