ansible/roles/hostname/templates/hosts.j2
2023-04-05 00:18:41 +02:00

7 lines
163 B
Django/Jinja

{{ ansible_managed | comment }}
{% for item in hostname__hosts %}
{% for addr in item.address %}
{{ addr }} {{ item.name | join(" ") }}
{% endfor %}
{% endfor %}