18 lines
332 B
YAML
18 lines
332 B
YAML
- name: Install runner
|
|
package:
|
|
name: gitlab-runner
|
|
become: true
|
|
|
|
- name: Install config
|
|
template:
|
|
src: files/config.toml
|
|
dest: /etc/gitlab-runner/config.toml
|
|
mode: "0600"
|
|
become: true
|
|
notify: restart gitlab-runner
|
|
|
|
- name: Enable runner
|
|
service:
|
|
name: gitlab-runner
|
|
enabled: true
|
|
become: true
|