{"repo":"macunha1/ansible-github-actions-runner","free":true,"listed":false,"github":"https://github.com/macunha1/ansible-github-actions-runner","clone":"git clone https://github.com/macunha1/ansible-github-actions-runner.git","description":"Idempotent Ansible role that installs and configures self-hosted GitHub Actions Runners (yeah, plural!)","language":null,"stars":38,"topics":["ansible-role","github-actions","self-hosted-runner","ansible"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"GitHub Actions self-hosted Runner Ansible role An Ansible role that installs and configures GitHub Actions self-hosted Runners inside one or multiple hosts, you can re-use it for many different URLs (repositories or organizations) inside the same host in order to re-use it as much as possible. Main goals of this role: - avoid waste : re-use the same host to provide a build environment for multiple repositories or organizations; - idempotence : executing the role many times won't make anything break, steps have checks that validate whether or not they should be executed; Variables For an exhaustive list of variables check the defaults file. Ideally, all values will have commentaries describing what are their purposes and by the default value you can tell the type. Required variables Following values are required since there is no way to register the self-hosted Runner without them Name Description ---------------------- -------------------------------------------------- gh runner config url GitHub Repository or Organization URL gh runner config token GitHub Registration token to authenticate the host Example Playbook Simplest use case: Single repository configuration on one host. Complex use case to which this role was created for Note that despite using the same host, each one of these GitHub Actions Runner configuration will have its own path and credentials. Therefore, they can live well in harmony without killing each other. Organization installs on one host When you reuse","default_branch":null,"files":null,"tree":[],"storefront":"/r/macunha1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/macunha1/ansible-github-actions-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}