18 lines
395 B
Django/Jinja
18 lines
395 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[Match]
|
|
Name={{ item.key }}
|
|
|
|
[Network]
|
|
LinkLocalAddressing={{ item.value.link_local | default(true)
|
|
| ternary("ipv6", "no") }}
|
|
IPForward={{ item.value.forward | default(false)
|
|
| ternary("yes", "no") }}
|
|
|
|
{% for addr in item.value.ip_addrs | default([]) %}
|
|
[Address]
|
|
Address={{ addr }}
|
|
{% endfor %}
|
|
|
|
[FairQueueingControlledDelay]
|
|
Parent=root
|