undercloud_ssh_hostname should include FQDN suffix
Change-Id: I00e6af739caaf458674a6f1ca134b14f7b683ed4
This commit is contained in:
parent
6526602c36
commit
ce7e827c60
@ -3,7 +3,7 @@
|
||||
- name: "pick undercloud SSH shotname from inventory"
|
||||
set_fact:
|
||||
undercloud_ssh_hostname: >-
|
||||
{{ hostvars[undercloud_hostname].ansible_hostname |
|
||||
{{ hostvars[undercloud_hostname].ansible_fqdn |
|
||||
default(undercloud_hostname) }}
|
||||
when:
|
||||
- (undercloud_ssh_hostname | length) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user