[Match]
Name={{ interface_name }}
[Network]
Address={{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}/24
Gateway={{ gateway }}
{% for nameserver in nameservers %}
DNS={{ nameserver }}
{% endfor %}