adfinis-sygroup.gitlab_runner
================== ROL 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
Este rol se usa para instalar un nuevo gitlab runner y registrarlo.
Variables del Rol
Las siguientes variables están disponibles:
.. code-block:: yaml
La URL de GitLab en la que registrarse
gitlab_runner_ci_url: 'https://git.example.com'
El token necesario para registrar el runner
https://git.adfinis-sygroup.ch/admin/runners
gitlab_runner_ci_token: 'my_ci_token'
Las imágenes de docker usadas como imagen por defecto
gitlab_runner_docker_image: 'docker:stable'
Ejecutar el contenedor en modo privilegiado o no
gitlab_runner_docker_privileged: True
La lista de paquetes por defecto
gitlab_runner_package_list: - ca-certificates - gitlab-runner
Ejemplo de Playbook
.. code-block:: yaml
- hosts: gitlab-runners
vars:
gitlab_runner_ci_url: 'https://git.example.com'
gitlab_runner_ci_token: 'thisismytoken'
roles:
- { role: adfinis-sygroup.gitlab_runner }
Licencia
GPL-3.0 <https://github.com/adfinis-sygroup/ansible-role-gitlab_runner/blob/master/LICENSE>
_
Información del Autor
El rol gitlab_runner fue escrito por:
- Adfinis SyGroup AG |
Sitio 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