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"
|
- name: "pick undercloud SSH shotname from inventory"
|
||||||
set_fact:
|
set_fact:
|
||||||
undercloud_ssh_hostname: >-
|
undercloud_ssh_hostname: >-
|
||||||
{{ hostvars[undercloud_hostname].ansible_hostname |
|
{{ hostvars[undercloud_hostname].ansible_fqdn |
|
||||||
default(undercloud_hostname) }}
|
default(undercloud_hostname) }}
|
||||||
when:
|
when:
|
||||||
- (undercloud_ssh_hostname | length) == 0
|
- (undercloud_ssh_hostname | length) == 0
|
||||||
|
|
Loading…
Reference in New Issue