Fix ssh_known_hosts format
The template is missing the key type.
Change-Id: I9cd43e933d6e5963f8da52f1821f11841920ec21
Closes-bug: #1781027
(cherry picked from commit 82b4a0cee1
)
This commit is contained in:
parent
48a0a20ee2
commit
121e6b054a
@ -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