From 2a185dc3aaa244b3cf04e31f8d13e1b58c3ba0db Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 29 Sep 2023 18:07:00 +0200 Subject: [PATCH] update vars --- tasks/gitlab-runner.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/gitlab-runner.yml b/tasks/gitlab-runner.yml index bd15c30..720fc95 100644 --- a/tasks/gitlab-runner.yml +++ b/tasks/gitlab-runner.yml @@ -3,6 +3,7 @@ assert: that: - gitlab_domain is defined + - gitlab_runner_register_token is defined tags: ['docker_gitlab-runner'] - include_tasks: base.yml @@ -20,7 +21,7 @@ - name: 'gitlab-runner | register to gitlab' uri: - url: 'https://{{ gitlab_runner_runner_url }}/api/v4/runners' + url: 'https://{{ gitlab_domain }}/api/v4/runners' method: POST body: token: '{{ gitlab_runner_register_token }}'