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