Skip to content

Commit

Permalink
Use newer 'register' command.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed May 24, 2024
1 parent f88939a commit 0c25a0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@
gitlab-runner register --non-interactive
--name "{{ gitlab_runner_name }}"
--url "{{ gitlab_runner_url }}"
--registration-token "{{ gitlab_runner_registration_token }}"
--token "{{ gitlab_runner_registration_token }}"
--tag-list "{{ gitlab_runner_tags | join(',') }}"
--executor "{{ gitlab_runner_executor }}"
--docker-image "{{ gitlab_runner_docker_image }}"
{% if gitlab_runner_privileged %}
--docker-privileged
--docker-volumes /var/run/docker.sock:/var/run/docker.sock
{% endif %}
--locked="false"
--request-concurrency "{{ gitlab_runner_concurrency }}"
changed_when: true
when:
Expand Down

0 comments on commit 0c25a0d

Please sign in to comment.