/ansible-gitlab-runner

Install and register gitlab-runner on remote machine

MIT LicenseMIT

Ansible Role: Gitlab-runner

Build Status

Install and resgister shell gitlab runner on remote machine.

Install

ansible-galaxy install Furdarius.gitlab-runner

Variables

All variables can be found in defaults/main.yml

Playbook example

---
- hosts: gitlab-runner
  become: true
  roles:
    - gitlab-runner
  vars:
    gitlab_runner_coordinator_url: 'https://gitlab.example.com/ci'
    gitlab_runner_tags: [ 'docker' ]
    gitlab_runner_coordinator_cert_path: "./certs/gitlab.example.com.crt"
    gitlab_runner_executor: 'docker'
  vars_prompt:
   - name: "gitlab_runner_registration_token"
     prompt: "Registration token is"
  tags:
    - runner