From 6a5f3ff7b3ce2e1b74d99d4abef070cb2a2d54c4 Mon Sep 17 00:00:00 2001 From: Markus Winkler Date: Mon, 20 Jul 2020 11:02:41 +0200 Subject: [PATCH] user update --- roles/gitlab/tasks/deploy_runners.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitlab/tasks/deploy_runners.yml b/roles/gitlab/tasks/deploy_runners.yml index 77eab9d..d899363 100644 --- a/roles/gitlab/tasks/deploy_runners.yml +++ b/roles/gitlab/tasks/deploy_runners.yml @@ -4,7 +4,7 @@ # ##################################################################### - name: Generate DNS Name for GitLab set_fact: - service_dns_name: "https://gitlab-{{ hostvars[inventory_hostname]['groups']['tag_role_jumphost'][0] | regex_replace('\\.', '-') }}.{{ jumphost_tld }}" + service_dns_name: "https://gitlab-{{ jumphost_ip | regex_replace('\\.', '-') }}.{{ jumphost_tld }}" - name: Create GitLab Overrides File copy: