Description: Sets up a self-hosted GitHub Actions runner on a Linux machine.
Field Value Readme update 2026/05/13
These are variables with higher priority
File: tasks/create-registration-token.yml Name Module Has Conditions Check runner scope ansible.builtin.assert False Set runner scope registration URL ansible.builtin.set_fact False Create GitHub Actions runner registration token ansible.builtin.uri True
File: tasks/download-github-runner-package.yml Name Module Has Conditions Download github runner package ansible.builtin.get_url True Ensure destination directory exists ansible.builtin.file False Extract github runner package ansible.builtin.unarchive False
File: tasks/install-dependencies.yml Name Module Has Conditions Install the dependencies for the github runner ansible.builtin.command False
File: tasks/install-service.yml Name Module Has Conditions Install and start github runner as a systemd service block False Install and start github runner as a systemd service ansible.builtin.command False
Name Module Has Conditions Create registration token ansible.builtin.include_tasks False Download github runner package ansible.builtin.include_tasks False Register the github runner and start the service ansible.builtin.include_tasks False
File: tasks/register-github-runner.yml Name Module Has Conditions Validate and check github runner and start service block False Check if GitHub Actions runner is already configured ansible.builtin.stat False Register the github runner ansible.builtin.command True Install and start github runner as a systemd service block False Install the service after a successful registration on the first attempt ansible.builtin.include_tasks True
# SPDX-License-Identifier: GPL-3.0
- hosts : all gather_facts : true roles :
- github_runner_setup opscontainer
GPL-3.0
2.20.0
AlmaLinux : ['all']Ubuntu : ['all']Debian : ['all']No dependencies specified.
See the CONTRIB.md guide for contribution instructions.