update vars
This commit is contained in:
parent
c2ba308f49
commit
2a185dc3aa
@ -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 }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user