Fix ssh_known_hosts format
The template is missing the key type. Change-Id: I9cd43e933d6e5963f8da52f1821f11841920ec21 Closes-bug: #1781027
This commit is contained in:
parent
8e8dabdfd1
commit
82b4a0cee1
@ -1,3 +1,3 @@
|
||||
{% for host in groups['overcloud'] %}
|
||||
{{ ssh_known_hosts[hostvars[host]['ansible_hostname']] + ' ' + hostvars[host]['ansible_ssh_host_key_ecdsa_public'] }}
|
||||
{{ ssh_known_hosts[hostvars[host]['ansible_hostname']] + ' ssh-rsa ' + hostvars[host]['ansible_ssh_host_key_rsa_public'] }}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user