You've already forked gitlab-runner
fix: added setup clone-url and customize concurrent
This commit is contained in:
@@ -21,4 +21,16 @@
|
||||
group: "{{ gitlab_runner_user }}"
|
||||
recurse: yes
|
||||
|
||||
- name: "Post-fix altered config"
|
||||
ansible.builtin.replace:
|
||||
path: " {{ gitlab_runner_config_path }}"
|
||||
regexp: "concurrent *= *\\d+"
|
||||
replace: "concurrent = {{ gitlab_runner_concurrent }}"
|
||||
|
||||
- name: "Reload config"
|
||||
ansible.builtin.shell:
|
||||
# see https://docs.gitlab.com/runner/commands/#signals
|
||||
cmd: "pkill -SIGHUP -f gitlab-runner"
|
||||
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
Reference in New Issue
Block a user