Skip to content
Snippets Groups Projects
Commit 66dc153a authored by Erik-jan Riemers's avatar Erik-jan Riemers Committed by GitHub
Browse files
parent 5a00da9f
Branches
No related tags found
No related merge requests found
---
- name: Add GitLab apt key
apt_key:
url: https://packages.gitlab.com/gpg.key
state: present
- name: Install GitLab Runner dependencies
apt:
name: '{{ item }}'
state: present
with_items:
- debian-archive-keyring
- apt-transport-https
- name: Add GitLab Runner apt repo
apt_repository:
repo: 'deb https://packages.gitlab.com/runner/gitlab-ci-multi-runner/{{ ansible_distribution | lower }}/ {{ ansible_distribution_major_version }} main'
state: present
- name: Install Gitlab repository
shell: curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash
- name: Install GitLab Runner
apt:
name: gitlab-ci-multi-runner
state: latest
update_cache: yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment