Skip to content
Snippets Groups Projects
Commit dc672baa authored by Chris Coley's avatar Chris Coley
Browse files

Fixing the some bad 'lineinfile' regexs and a misspelled variable in a conditional

parent 3648984f
Branches
No related tags found
No related merge requests found
......@@ -2,14 +2,14 @@
- name: Set GitLab Runner Job Check Interval
lineinfile:
dest: /etc/gitlab-runner/config.toml
regexp: ^check_interval=
regexp: ^check_interval ?=
line: check_interval = {{ gitlab_runner_check_interval }}
state: present
- name: Set GitLab Runner Concurrent Jobs Limit
lineinfile:
dest: /etc/gitlab-runner/config.toml
regexp: ^concurrent =
regexp: ^concurrent ?=
line: concurrent = {{ gitlab_runner_concurrent_jobs }}
state: present
......@@ -33,6 +33,6 @@
--tag-list '{{ gitlab_runner_tags|join(",") }}'
--executor '{{ gitlab_runner_executor }}'
--locked '{{ gitlab_runner_locked }}'
when: is_runner_registered.rc != 0 and gitlab_runnner_token != ''
when: is_runner_registered.rc != 0 and gitlab_runner_token != ''
...
# vi: set ts=2 sts=2 sw=2 et ft=yaml:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment