ansible/roles/radvd/templates/radvd.conf.j2
Markus Hauschild 4c020cea41
All checks were successful
continuous-integration/drone/push Build is passing
unify whitespace before }}
2020-11-16 23:18:52 +01:00

25 lines
574 B
Django/Jinja

# {{ ansible_managed }}
interface br-{{ site_code }} {
AdvSendAdvert on;
IgnoreIfMissing on;
AdvManagedFlag off;
AdvOtherConfigFlag on;
MaxRtrAdvInterval 200;
AdvLinkMTU {{ (mtu | int) - 32 }};
prefix {{ batman_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on;
AdvAutonomous on;
# AdvRouterAddr on;
};
{% if global_ipv6 is defined %}
prefix {{ global_ipv6 | ipaddr('address') | ipsubnet(64) }} {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
{% endif %}
RDNSS {{ batman_ipv6 | ipaddr('address') }} {
};
};