Skip to content
Snippets Groups Projects
Commit bff021ff authored by Harold Barker's avatar Harold Barker
Browse files

Set global options

parent f2a357bd
No related branches found
No related tags found
No related merge requests found
---
# defaults file for gitlab-runner
# Maximum number of jobs to run concurrently
gitlab_runner_concurrent: '{{ ansible_processor_cores }}'
---
- name: Set concurrent option
lineinfile:
dest: /etc/gitlab-runner/config.toml
regexp: ^concurrent =
line: concurrent = {{ gitlab_runner_concurrent }}
state: present
......@@ -2,3 +2,6 @@
- name: Install GitLab Runner (RedHat)
include: install-redhat.yml
when: ansible_os_family == 'RedHat'
- name: Set global options
include: global-setup.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment