https://github.com/klml/ansible-gitlab-runner-supervisord
Ansible playbook for installing and configuring a GitLab Runner. Based on https://lab.uberspace.de/guide_gitlab-runner.html using supervisord
https://github.com/klml/ansible-gitlab-runner-supervisord
Last synced: about 2 months ago
JSON representation
Ansible playbook for installing and configuring a GitLab Runner. Based on https://lab.uberspace.de/guide_gitlab-runner.html using supervisord
- Host: GitHub
- URL: https://github.com/klml/ansible-gitlab-runner-supervisord
- Owner: klml
- Created: 2021-06-21T18:10:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-22T18:50:39.000Z (almost 4 years ago)
- Last Synced: 2025-02-12T08:40:56.675Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible playbook GitLab Runner with supervisord
Ansible playbook for installing and configuring a [GitLab Runner](https://docs.gitlab.com/runner/).
There are other ansible playbooks for GitLab Runner, like [haroldb/ansible-gitlab-runner](https://github.com/haroldb/ansible-gitlab-runner) or [debops/ansible-gitlab_runner](https://github.com/debops/ansible-gitlab_runner), but these need root access.This role is based on [Gitlab Runner for uberspace](https://lab.uberspace.de/guide_gitlab-runner.html):
* using [supervisord](https://manual.uberspace.de/daemons-supervisord.html)
* works in userspace (no root)
* downloads sources from amazonaws.com, does not use a package manager (apt, yum)## Usage
Get your registration_token from https://gitlab.com/USERGROUP/PROJECT/-/settings/ci_cd#js-runners-settings or your own GitLab.
```
ansible-playbook install-ezmlm.yaml -i .yaml -e "REGISTRATION_TOKEN=MyToKeNfRoMmYGitLab"
```Optional paramter:
```
ansible-playbook install-ezmlm.yaml -i .yaml -e "REGISTRATION_TOKEN=MyToKeNfRoMmYGitLab" -e "CI_SERVER_URL: https://gitlab.com" -e "TAG_LIST: master" -e "EXECUTOR: shell"```