Skip to main content

GitLab Runner Role

Deploy a GitLab Runner as a Podman quadlet.


Variables​

VariableTypeOptionsDefaultDescription
podman_userstring---{{ ansible_user }}system user for rootless podman operations
gitlab_runner_proxy_enabledbooltrue, falsefalseenable HTTP proxy for image pulls
gitlab_runner_proxy_httpstring---""HTTP proxy URL
gitlab_runner_proxy_httpsstring---""HTTPS proxy URL
gitlab_runner_proxy_no_proxystring---""comma-separated list of proxy exclusions
gitlab_runner_proxy_envlist of string---[]generated proxy environment entries
gitlab_runner_network_enabledbooltrue, falsetruecreate and manage the podman network
gitlab_runner_network_driverstring---bridgepodman network driver
gitlab_runner_network_namestring---gitlab-runner-internalpodman network name
gitlab_runner_versionstring---v19.3.1container image version
gitlab_runner_autoupdatebooltrue, falsetrueenable podman auto-update for this container
gitlab_runner_environment_varsdict---{}extra environment variables injected into the container
gitlab_runner_concurrentinteger---1maximum number of concurrent jobs
gitlab_runner_namestring---""runner display name
gitlab_runner_urlstring---""GitLab instance URL
gitlab_runner_tokenstring---""runner registration token
gitlab_runner_extra_fileslist of dict---[]arbitrary file entries with src (controller path) or source (target path), dest, optional mount, mode, and template
gitlab_runner_extra_dirslist of dict---[]arbitrary directory entries with src (controller directory) or source (target path), dest, optional mount and mode
gitlab_runner_entrypointstring---""optional container entrypoint override