ansible/roles/hostname/templates/hosts.j2

8 lines
163 B
Text
Raw Normal View History

2023-04-05 00:18:41 +02:00
{{ ansible_managed | comment }}
{% for item in hostname__hosts %}
{% for addr in item.address %}
{{ addr }} {{ item.name | join(" ") }}
{% endfor %}
{% endfor %}