{"id":15318347,"url":"https://github.com/appleboy/ansible-drone","last_synced_at":"2026-03-08T07:31:51.422Z","repository":{"id":66187298,"uuid":"191898607","full_name":"appleboy/ansible-drone","owner":"appleboy","description":"Ansible role to configure drone (server and agent)","archived":false,"fork":false,"pushed_at":"2019-11-27T11:45:17.000Z","size":116,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T18:22:47.881Z","etag":null,"topics":["ansible","ansible-role","drone","drone-ci"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/appleboy/drone","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-06-14T07:40:43.000Z","updated_at":"2024-04-30T12:08:20.000Z","dependencies_parsed_at":"2023-02-22T17:46:03.637Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/ansible-drone","commit_stats":{"total_commits":62,"total_committers":3,"mean_commits":"20.666666666666668","dds":"0.032258064516129004","last_synced_commit":"7b16ff755057990639a7b9a35e505300d4b5da1e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/appleboy/ansible-drone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fansible-drone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fansible-drone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fansible-drone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fansible-drone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/ansible-drone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fansible-drone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30248868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","drone","drone-ci"],"created_at":"2024-10-01T08:59:47.978Z","updated_at":"2026-03-08T07:31:51.408Z","avatar_url":"https://github.com/appleboy.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: drone\n\n\u003cimg src=\"images/logo.png\"\u003e\n\nThis role will install drone [agents][1] + [server][2] using [docker](https://www.docker.com/)\n\n[![Build Status](https://cloud.drone.io/api/badges/appleboy/ansible-drone/status.svg)](https://cloud.drone.io/appleboy/ansible-drone)\n\n[1]:https://docs.drone.io/administration/agents/\n[2]:https://docs.drone.io/administration/server/\n\n## Requirements\n\nThis role requires: [docker installed](https://docs.docker.com/install/) on the server\n\n### Role Variables\n\nChange the `drone_host_port` for expose port if conflict and update the `drone_version` from [github release page](https://github.com/drone/drone/releases).\n\n```yml\ndrone_version: \"latest\"\ndrone_host_port: \"8080\"\n```\n\nInstall the drone server or agent via the following config. Default is `false`.\n\n```yml\ndrone_server_enable: \"false\"\ndrone_agent_enable: \"false\"\n```\n\nDefault database is `sqlite` and drone can be installed with `mysql` or `postgres` database. See the followings. \n\n```yml\ndrone_database_driver: \"postgres\"\ndrone_postgres_data_dir: \"/var/lib/postgresql/data\"\ndrone_postgres_password: \"drone\"\ndrone_postgres_user: \"drone\"\ndrone_postgres_db: \"drone\n```\n\nmysql database (5.7 version)\n\n```yml\ndrone_database_driver: \"mysql\"\ndrone_mysql_data_dir: \"/var/lib/mysql/data\"\ndrone_mysql_password: \"drone\"\ndrone_mysql_user: \"drone\"\ndrone_mysql_db: \"drone\"\n```\n\n### additional parameters\n\nThe ansible role offers additional parameters - please check `defaults/main.yml` file.\n\n## Example Playbook\n\nimport the drone role from \n\n```bash\n$ ansible-galaxy install appleboy.drone\n```\n\nAdd the following in playbook.\n\n```yml\n- hosts: drone\n  vars_files:\n    - vars/main.yml\n  roles:\n    - { role: appleboy.drone }\n```\n\nInside `vars/main.yml` for `drone-server`\n\n```yml\ndrone_server_enable: \"true\"\ndrone_version: \"latest\"\ndrone_server_host: \"368a7a66.ngrok.io\"\ndrone_server_proto: \"https\"\ndrone_rpc_secret: \"30075d074bfd9e74cfd0b84a5886b986\"\ndrone_github_client_id: \"e2bdde88b88f7ccf873a\"\ndrone_github_client_secret: \"b0412c975bbf2b6fcd9b3cf5f19c8165b1c14d0c\"\n```\n\nfor drone-agent:\n\n```yml\ndrone_agent_enable: \"true\"\ndrone_version: \"latest\"\ndrone_rpc_server: \"http://192.168.64.2:8080\"\ndrone_rpc_secret: \"30075d074bfd9e74cfd0b84a5886b986\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fansible-drone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fansible-drone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fansible-drone/lists"}