{"id":21207004,"url":"https://github.com/paralect/ansible-drone","last_synced_at":"2025-12-29T18:12:29.776Z","repository":{"id":47996321,"uuid":"107425814","full_name":"paralect/ansible-drone","owner":"paralect","description":"Ansible role for drone deployment","archived":false,"fork":false,"pushed_at":"2021-08-11T05:23:22.000Z","size":486,"stargazers_count":12,"open_issues_count":11,"forks_count":8,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-21T15:49:23.075Z","etag":null,"topics":["paralect-stack"],"latest_commit_sha":null,"homepage":null,"language":null,"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/paralect.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-18T15:17:04.000Z","updated_at":"2023-08-26T11:34:58.000Z","dependencies_parsed_at":"2022-08-12T16:10:59.900Z","dependency_job_id":null,"html_url":"https://github.com/paralect/ansible-drone","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paralect%2Fansible-drone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paralect%2Fansible-drone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paralect%2Fansible-drone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paralect%2Fansible-drone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paralect","download_url":"https://codeload.github.com/paralect/ansible-drone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658834,"owners_count":20326572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["paralect-stack"],"created_at":"2024-11-20T20:57:27.457Z","updated_at":"2025-12-29T18:12:29.744Z","avatar_url":"https://github.com/paralect.png","language":null,"readme":"# Ansible Drone\n\n[![Stack](https://raw.githubusercontent.com/paralect/stack/master/stack-component-template/stack.png)](https://github.com/paralect/stack)\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-drone-blue.svg?style=flat-square)](https://galaxy.ansible.com/paralect/drone)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](https://github.com/paralect/ansible-mongo/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\n[![Watch on GitHub](https://img.shields.io/github/watchers/paralect/ansible-drone.svg?style=social\u0026label=Watch)](https://github.com/paralect/ansible-drone/watchers)\n[![Star on GitHub](https://img.shields.io/github/stars/paralect/ansible-drone.svg?style=social\u0026label=Stars)](https://github.com/paralect/ansible-drone/stargazers)\n[![Follow](https://img.shields.io/twitter/follow/paralect.svg?style=social\u0026label=Follow)](https://twitter.com/paralect)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/paralect/ansible-drone.svg?style=social)](https://twitter.com/intent/tweet?text=I%27m%20using%20Stack%20components%20to%20build%20my%20next%20product%20🚀.%20Check%20it%20out:%20https://github.com/paralect/ansible-drone)\n\nAn ansible role for the [drone](https://github.com/drone/drone) CI deployment with Github/Bitbucket Cloud integration and PostgreSQL database.\n\n## Role Variables\n\nAvailable variables:\n\n|Name|Default|Description|\n|:--:|:--:|:----------|\n|**`drone_version`**|`latest`|Version of Drone CI, see other versions [here](https://hub.docker.com/r/drone/drone/tags)|\n|**`drone_user_create`**|`\"\"`|Initial administrative account, which can be used to grant the administrator role to additional accounts. Read more [more](https://docs.drone.io/administration/user/admins)|\n|**`drone_agents`**|`[{name: \"Nancy\"}]`|Name of the docker agent container, you can add more than one agent|\n|**`drone_server_host`**|`\"\"`|A string containing your Drone server hostname or IP address|\n|**`drone_rpc_secret`**|`hTirsXmrY4YsyK79ELgB`|Drone secret key, used for private communication between agent and web UI [more info](https://docs.drone.io/reference/server/drone-rpc-secret)|\n|**`drone_github_client_id`**|`\"\"`|Github oauth application client identifier, [more info](https://docs.drone.io/installation/github/single-machine)|\n|**`drone_github_client_secret`**|`\"\"`|Github oauth application client secret, [more info](https://docs.drone.io/installation/github/single-machine)|\n|**`drone_postgress_password`**|`droneRocks23@p`|A password to postgress db used by drone|\n|**`drone_postgress_user`**|`drone`|A username to postgress db used by drone, [read more](https://docs.drone.io/administration/server/database)|\n|**`drone_postgress_db`**|`drone`|A name of to postgress db used by drone, [read more](https://docs.drone.io/administration/server/database)|\n|**`drone_postgress_data_dir`**|`/drone-postgres-data`|A directory on a host machine, where postgresql data stored|\n|**`nginx_drone_internal_host`**|`http://localhost:8000`|Internal drone ui http url used by nginx to proxy traffic. For example: http://localhost:8000|\n\n## Dependencies\n\n[Docker](https://www.docker.com/) must be installed on the server in order to use this role. If you don't have docker on your server we recommend [angstwad.docker_ubuntu](https://github.com/angstwad/docker.ubuntu) Ansible role.\n\nExample of using `angstwad.docker_ubuntu`:\n```yml\n---\n- name: Setup drone ci server\n  hosts: drone\n  become: true\n  roles:\n    - { role: angstwad.docker_ubuntu }\n```\n\n## Quick example\n\nExample of the playbook file:\n\n```yml\n---\n- name: Deploy drone CI server\n  hosts: drone\n  become_user: root\n  become: true\n  roles:\n    - role: paralect.drone\n      # Version of Drone CI, see other versions here: https://hub.docker.com/r/drone/drone/tags/\n      drone_version: latest\n\n      # the url, where drone instance will be publicly available\n      # typically you would have nginx in front of Drone CI\n      drone_server_host: 178.62.116.103\n\n      # Drone secret key, used for private communication between agent and web UI\n      # more info: https://docs.drone.io/reference/server/drone-rpc-secret/\n      drone_rpc_secret: hTirsXmrY4YsyK79ELgB\n\n      # Github oauth application client id and secret, more info https://docs.drone.io/installation/github/single-machine/\n      drone_github_client_id:\n      drone_github_client_secret:\n\n      # A password to postgress db used by drone\n      drone_postgress_password: droneRocks23@p\n      # A username to postgress db used by drone, read more: https://docs.drone.io/administration/server/database/\n      drone_postgress_user: drone\n      # A name of to postgress db used by drone, read more: https://docs.drone.io/administration/server/database/\n      drone_postgress_db: drone\n      # a directory on a host machine, where postgresql data stored\n      drone_postgress_data_dir: /drone-postgres-data\n```\n\n## Change Log\n\nThis project adheres to [Semantic Versioning](http://semver.org/).\nEvery release is documented on the Github [Releases](https://github.com/paralect/node-mongo/releases) page.\n\n## License\n\nAnsible-drone is released under the [MIT License](https://github.com/paralect/ansible-mongo/blob/master/LICENSE).\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://github.com/paralect/ansible-drone/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| [\u003cimg src=\"https://avatars3.githubusercontent.com/u/681396?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAndrew Orsich\u003c/b\u003e\u003c/sub\u003e](https://github.com/anorsich)\u003cbr /\u003e[📖](https://github.com/paralect/ansible-drone/commits?author=anorsich \"Documentation\") [🤔](#ideas-anorsich \"Ideas, Planning, \u0026 Feedback\") [💻](https://github.com/paralect/ansible-drone/commits?author=anorsich \"Code\") [📖](https://github.com/paralect/ansible-drone/commits?author=anorsich \"Documentation\") [🤔](#ideas-anorsich \"Ideas, Planning, \u0026 Feedback\") [👀](#review-anorsich \"Reviewed Pull Requests\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/6461311?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eEvgeny Zhivitsa\u003c/b\u003e\u003c/sub\u003e](https://github.com/ezhivitsa)\u003cbr /\u003e[📖](https://github.com/paralect/ansible-drone/commits?author=ezhivitsa \"Documentation\") |\n| :---: | :---: |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparalect%2Fansible-drone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparalect%2Fansible-drone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparalect%2Fansible-drone/lists"}