d45c47c050
ansible_nodename is a fqdn, whereas Heat is using the short hostname to construct the ssh_known_hosts value. Switch to using ansible_hostname so that the correct values will be found when looking up ssh_known_hosts. Change-Id: Ic5e68f236ac35295647769d20e971cf71ea29134
4 lines
169 B
Django/Jinja
4 lines
169 B
Django/Jinja
{% for host in groups['overcloud'] %}
|
|
{{ ssh_known_hosts[hostvars[host]['ansible_hostname']] + ' ' + hostvars[host]['ansible_ssh_host_key_ecdsa_public'] }}
|
|
{% endfor %}
|