[Train Only] Ensure novajoin code is setting ansible_fqdn

Novajoin tls-e code is still available in train and is affected by
the same removal of the fact passing as [1].  This uses
ansible_facts['fqdn'] as the ansible_fqdn for the tripleo-ipa
registration play.

[1]: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/785909

Related-Bug: 1915761
Related-Bug: 1923248
Change-Id: I5b1514b4ba9bb22bcef63e74b0400cd9332516ca
This commit is contained in:
Dave Wilde (d34dh0r53) 2021-04-14 15:21:21 -05:00 committed by David Wilde
parent f24840a561
commit 0de9ea84ff
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ outputs:
tripleo_ipa_delegate_server: "{{ item }}"
tripleo_ipa_base_server_fqdn: "{{ hostvars[item]['fqdn_canonical'] }}"
tripleo_ipa_server_metadata: "{{ hostvars[item]['service_metadata_settings'] | to_json }}"
ansible_fqdn: "{{ ansible_facts['fqdn'] }}"
loop: "{{ groups.certmonger_user }}"
environment:
IPA_USER: "nova/{{ ansible_facts['fqdn'] }}"