Commit f2a357b 1 parent 387c7f2 commit f2a357b Copy full SHA for f2a357b
File tree 3 files changed +41
-1
lines changed
3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Install GitLab Runner dependencies
3
+ yum :
4
+ name : ' {{ item }}'
5
+ state : present
6
+ with_items :
7
+ - pygpgme
8
+ - yum-utils
9
+
10
+ - name : Add GitLab Runner rpm repo
11
+ template :
12
+ src : runner_gitlab-ci-multi-runner.repo.j2
13
+ dest : /etc/yum.repos.d/runner_gitlab-ci-multi-runner.repo
14
+
15
+ - name : Install GitLab Runner
16
+ yum :
17
+ name : gitlab-ci-multi-runner
18
+ state : latest
19
+ update_cache : yes
Original file line number Diff line number Diff line change 1
1
---
2
- # tasks file for gitlab-runner
2
+ - name : Install GitLab Runner (RedHat)
3
+ include : install-redhat.yml
4
+ when : ansible_os_family == 'RedHat'
Original file line number Diff line number Diff line change
1
+ [runner_gitlab-ci-multi-runner]
2
+ name=runner_gitlab-ci-multi-runner
3
+ baseurl=https://packages.gitlab.com/runner/gitlab-ci-multi-runner/el/{{ ansible_distribution_major_version }}/$basearch
4
+ repo_gpgcheck=1
5
+ gpgcheck=0
6
+ enabled=1
7
+ gpgkey=https://packages.gitlab.com/gpg.key
8
+ sslverify=1
9
+ sslcacert=/etc/pki/tls/certs/ca-bundle.crt
10
+
11
+ [runner_gitlab-ci-multi-runner-source]
12
+ name=runner_gitlab-ci-multi-runner-source
13
+ baseurl=https://packages.gitlab.com/runner/gitlab-ci-multi-runner/el/{{ ansible_distribution_major_version }}/SRPMS
14
+ repo_gpgcheck=1
15
+ gpgcheck=0
16
+ enabled=1
17
+ gpgkey=https://packages.gitlab.com/gpg.key
18
+ sslverify=1
19
+ sslcacert=/etc/pki/tls/certs/ca-bundle.crt
You can’t perform that action at this time.
0 commit comments