servers/templates/fabric.intf.j2
2023-10-05 12:43:35 +02:00

6 lines
168 B
Django/Jinja

{% for iface in hostvars[inventory_hostname].interfaces | selectattr('name', 'match', '^lan') %}
auto {{ iface.name }}
iface {{ iface.name }}
mtu 9216
{% endfor %}