5 lines
146 B
Django/Jinja
5 lines
146 B
Django/Jinja
{% for intname in ansible_interfaces %}
|
|
- {{ intname }}: {{ ansible_facts[ intname|replace('-', '_')]['macaddress']|default('-') }}
|
|
{% endfor %}
|
|
|