7 lines
163 B
Django/Jinja
7 lines
163 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% for ip in item.ips %}
|
|
{% set aliases = item.get('aliases', []) %}
|
|
{{ ip }} {{ ([item.hostname] + aliases) | join(' ') }}
|
|
{% endfor %}
|