https://github.com/beemi/ansible-gh-self-hosted-runner-role
Ansible self hosted github runner
https://github.com/beemi/ansible-gh-self-hosted-runner-role
Last synced: 10 months ago
JSON representation
Ansible self hosted github runner
- Host: GitHub
- URL: https://github.com/beemi/ansible-gh-self-hosted-runner-role
- Owner: beemi
- Created: 2024-05-27T03:18:56.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T01:52:47.000Z (about 2 years ago)
- Last Synced: 2024-05-28T06:26:26.611Z (about 2 years ago)
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Runner and Docker Setup Ansible Roles
This repository contains two Ansible roles:
1. `github_runner`: Sets up a GitHub self-hosted runner on Ubuntu.
## Requirements
These roles require Ansible to be installed on the control machine. The target nodes should be running Ubuntu 22.04 or later.
## Role Variables
### github_runner
| Variable | Default Value | Description |
|------------------|------------------------------------------|-----------------------------------------------------------------|
| `runner_version` | `"2.316.1"` | The version of the GitHub runner to install. |
| `github_org` | `"your-github-org"` | The GitHub organization to which the runner will be registered. |
| `runner_name` | `"runner-{{ inventory_hostname }}"` | The name of the runner. |
| `runner_labels` | `"self-hosted,{{ inventory_hostname }}"` | Labels to assign to the runner. |
| `github_token` | `"YOUR_GITHUB_TOKEN"` | The GitHub token to register the runner. |
## Dependencies
None.
## License
BSD
## Author Information
These roles were created by [Raja Beemi](beemi.rajas@gmail.com)