ansible/roles/systemd_networkd/templates/network.j2

18 lines
298 B
Text
Raw Normal View History

2022-01-02 16:30:59 +01:00
{{ ansible_managed | comment }}
[Match]
Name={{ item.key }}
{% if not (item.value.link_local | default(true)) %}
[Network]
LinkLocalAddressing=no
{% endif %}
{% for addr in item.value.ip_addrs | default([]) %}
[Address]
Address={{ addr }}
{% endfor %}
[FairQueueingControlledDelay]
Parent=root