Browse Source

undercloud_ssh_hostname should include FQDN suffix

Change-Id: I00e6af739caaf458674a6f1ca134b14f7b683ed4
changes/67/782267/1
Eduardo Olivares 4 weeks ago
parent
commit
ce7e827c60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/tobiko-configure/tasks/main.yaml

+ 1
- 1
roles/tobiko-configure/tasks/main.yaml View File

@ -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…
Cancel
Save