infrastructure/ansible/roles/gitlab_runner/tasks/main.yml
2021-06-01 19:29:21 +01:00

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