2022-01-02 16:30:59 +01:00
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
|
|
|
[Match]
|
|
|
|
Name={{ item.key }}
|
|
|
|
|
|
|
|
[Network]
|
2022-01-02 16:51:31 +01:00
|
|
|
LinkLocalAddressing={{ item.value.link_local | default(true)
|
2022-01-03 01:57:51 +01:00
|
|
|
| ternary("ipv6", "no") }}
|
2022-01-02 16:51:31 +01:00
|
|
|
IPForward={{ item.value.forward | default(false)
|
|
|
|
| ternary("yes", "no") }}
|
2022-01-02 16:30:59 +01:00
|
|
|
|
|
|
|
{% for addr in item.value.ip_addrs | default([]) %}
|
|
|
|
[Address]
|
|
|
|
Address={{ addr }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
[FairQueueingControlledDelay]
|
|
|
|
Parent=root
|