adfinis-sygroup.gitlab_runner
================== ROLLEN GITLAB_RUNNER ==================
.. image:: https://img.shields.io/github/license/adfinis-sygroup/ansible-role-gitlab_runner.svg?style=flat-square :target: https://github.com/adfinis-sygroup/ansible-role-gitlab_runner/blob/master/LICENSE
.. image:: https://img.shields.io/travis/adfinis-sygroup/ansible-role-gitlab_runner.svg?style=flat-square :target: https://travis-ci.org/adfinis-sygroup/ansible-role-gitlab_runner
.. image:: https://img.shields.io/badge/galaxy-adfinis--sygroup.gitlab_runner-660198.svg?style=flat-square :target: https://galaxy.ansible.com/adfinis-sygroup/gitlab_runner
Diese Rolle wird verwendet, um einen neuen GitLab Runner zu installieren und zu registrieren.
Rollenvariablen
Die folgenden Variablen sind verfügbar:
.. code-block:: yaml
Die URL von GitLab, an die registriert werden soll
gitlab_runner_ci_url: 'https://git.example.com'
Der Token, der für die Registrierung des Runners benötigt wird
https://git.adfinis-sygroup.ch/admin/runners
gitlab_runner_ci_token: 'mein_ci_token'
Die Docker-Images, die als Standard-Image verwendet werden
gitlab_runner_docker_image: 'docker:stable'
Den Container im privilegierten Modus ausführen oder nicht
gitlab_runner_docker_privileged: True
Die Standard-Paketliste
gitlab_runner_package_list: - ca-certificates - gitlab-runner
Beispiel-Playbook
.. code-block:: yaml
- hosts: gitlab-runners
vars:
gitlab_runner_ci_url: 'https://git.example.com'
gitlab_runner_ci_token: 'diesistmeintoken'
roles:
- { role: adfinis-sygroup.gitlab_runner }
Lizenz
GPL-3.0 <https://github.com/adfinis-sygroup/ansible-role-gitlab_runner/blob/master/LICENSE>
_
Autoreninformation
Die Rolle gitlab_runner wurde geschrieben von:
- Adfinis SyGroup AG |
Website <https://www.adfinis-sygroup.ch/>
_ |Twitter <https://twitter.com/adfinissygroup>
_ |GitHub <https://github.com/adfinis-sygroup>
_
ansible-galaxy install adfinis-sygroup.gitlab_runner