pvc-ansible/roles/base/templates/etc/ssh/shosts.equiv.j2

9 lines
202 B
Django/Jinja

# SSH remote allowed hosts
# {{ ansible_managed }}
{% for host in groups[cluster_group] %}
{{ host }}
{{ host.split('.')[0] }}.{{ networks['cluster']['domain'] }}
{{ host.split('.')[0] }}
{% endfor %}