adfinis-sygroup.gitlab_runner
================== RÔLE 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
Ce rôle est utilisé pour installer un nouveau runner GitLab et l'enregistrer.
Variables du Rôle
Les variables suivantes sont disponibles :
.. code-block:: yaml
L'URL de GitLab à laquelle s'enregistrer
gitlab_runner_ci_url: 'https://git.example.com'
Le token nécessaire pour enregistrer le runner
https://git.adfinis-sygroup.ch/admin/runners
gitlab_runner_ci_token: 'mon_ci_token'
Les images Docker utilisées comme image par défaut
gitlab_runner_docker_image: 'docker:stable'
Exécuter le conteneur en mode privilégié ou non
gitlab_runner_docker_privileged: True
La liste des paquets par défaut
gitlab_runner_package_list: - ca-certificates - gitlab-runner
Exemple de Playbook
.. code-block:: yaml
- hosts: gitlab-runners
vars:
gitlab_runner_ci_url: 'https://git.example.com'
gitlab_runner_ci_token: 'c'estmonjeton'
roles:
- { role: adfinis-sygroup.gitlab_runner }
Licence
GPL-3.0 <https://github.com/adfinis-sygroup/ansible-role-gitlab_runner/blob/master/LICENSE>
_
Informations sur l'Auteur
Le rôle gitlab_runner a été écrit par :
- Adfinis SyGroup AG |
Site Web <https://www.adfinis-sygroup.ch/>
_ |Twitter <https://twitter.com/adfinissygroup>
_ |GitHub <https://github.com/adfinis-sygroup>
_
This role is used to install a docker gitlab runner
ansible-galaxy install adfinis-sygroup.gitlab_runner