From d56a191590b669249569e01d8507b00849c85fb4 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 3 Mar 2021 17:49:11 +0530 Subject: [PATCH] Pass ipaclient_hostname to ipaclient role When 'ipaclient_hostname' is not passed it's default's to 'ansible_fqdn', which is not available when setting ANSIBLE_INJECT_FACT_VARS=False[1], let's pass it explicitly. [1] https://review.opendev.org/c/openstack/python-tripleoclient/+/776558 Closes-Bug: #1917582 Change-Id: I5b3ab81d7d885b5373c9c75a2b3ca637efb87c1e --- deployment/tls/undercloud-tls.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deployment/tls/undercloud-tls.yaml b/deployment/tls/undercloud-tls.yaml index 9a026756c5..e9f7656460 100644 --- a/deployment/tls/undercloud-tls.yaml +++ b/deployment/tls/undercloud-tls.yaml @@ -65,6 +65,7 @@ outputs: name: ipaclient vars: ipaclient_otp: "{{ ipa_otp }}" + ipaclient_hostname: "{{ fqdn_canonical }}" when: ipa_otp != '' - name: Set keytab permission facts set_fact: