GitHub Actions Runners
July 9, 2026 ยท View on GitHub
Deploys self-hosted GitHub Actions runners for the OSWatcher/osw-builder repository (20 by default).
Setup
-
Set the target host in
inventory.yml. -
Set GitHub token:
export GITHUB_TOKEN="your_token" -
Deploy runners:
ansible-playbook -i inventory.yml site.yml
Configuration
- Target:
OSWatcher/osw-builder - Count: 20 runners (
builder-1tobuilder-20) - Location:
/home/{user}/runners/
Edit roles/runner/vars/main.yml to modify settings.
Management
- Stop: Set
runner_state: "stopped"and re-run playbook - Remove: Set
runner_state: "absent"and re-run playbook