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
This commit is contained in:
yatinkarel 2021-03-03 17:49:11 +05:30
parent 72c4b8c126
commit d56a191590
1 changed files with 1 additions and 0 deletions

View File

@ -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: