2019-06-09 00:11:06 -04:00
|
|
|
# SSH remote allowed hosts
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2020-08-06 15:54:12 -04:00
|
|
|
{% for host in groups[cluster_group] %}
|
2023-08-08 16:41:58 -04:00
|
|
|
{% if hostvars[host].ansible_ssh_host_key_ed25519_public is defined %}
|
2020-08-06 15:54:12 -04:00
|
|
|
{{ host }},{{ host.split('.')[0] }}.{{ networks['cluster']['domain'] }},{{ host.split('.')[0] }} ssh-ed25519 {{ hostvars[host].ansible_ssh_host_key_ed25519_public }}
|
2023-08-08 16:41:58 -04:00
|
|
|
{% endif %}
|
2020-08-06 15:54:12 -04:00
|
|
|
{% endfor %}
|