Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 905 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 905 Bytes

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