Gitlab url fix (#106)

This commit is contained in:
Dale Lemons
2023-10-23 15:40:22 -04:00
committed by GitHub
parent 98416fcc3c
commit e958164cb6
2 changed files with 6 additions and 10 deletions

View File

@@ -101,6 +101,11 @@
retries: 10
delay: 30
- name: Grab url for Gitlab spec
ansible.builtin.set_fact:
cluster_domain: "apps{{ lookup('ansible.builtin.env', 'K8S_AUTH_HOST') | regex_search('\\.[^:]*') }}"
when: cluster_domain is undefined
- name: Deploy a GitLab instance
redhat.openshift.k8s:
state: present