update vars

This commit is contained in:
Ludovic Cartier 2023-09-29 18:07:00 +02:00
parent c2ba308f49
commit 2a185dc3aa

View File

@ -3,6 +3,7 @@
assert: assert:
that: that:
- gitlab_domain is defined - gitlab_domain is defined
- gitlab_runner_register_token is defined
tags: ['docker_gitlab-runner'] tags: ['docker_gitlab-runner']
- include_tasks: base.yml - include_tasks: base.yml
@ -20,7 +21,7 @@
- name: 'gitlab-runner | register to gitlab' - name: 'gitlab-runner | register to gitlab'
uri: uri:
url: 'https://{{ gitlab_runner_runner_url }}/api/v4/runners' url: 'https://{{ gitlab_domain }}/api/v4/runners'
method: POST method: POST
body: body:
token: '{{ gitlab_runner_register_token }}' token: '{{ gitlab_runner_register_token }}'