Merge "Fix ssh_known_hosts format"

This commit is contained in:
Zuul
2018-07-12 14:59:02 +00:00
committed by Gerrit Code Review

View File

@@ -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 %}