ADD import roles
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# {{ ansible_managed }}
|
||||
{% for iface in radvd_interfaces | default([]) %}
|
||||
interface {{ iface.name }} {
|
||||
AdvSendAdvert on;
|
||||
MinRtrAdvInterval 5;
|
||||
MaxRtrAdvInterval 15;
|
||||
route ::/0 {};
|
||||
AdvManagedFlag off;
|
||||
AdvOtherConfigFlag off;
|
||||
prefix {{ iface.prefix }} {
|
||||
AdvOnLink on;
|
||||
AdvAutonomous on;
|
||||
AdvRouterAddr on;
|
||||
};
|
||||
{% if iface.source is defined %}
|
||||
AdvRASrcAddress {
|
||||
{{ iface.source }};
|
||||
};
|
||||
{% endif %}
|
||||
RDNSS {{ iface.dns | default(['2a00:1398::1', '2a00:1398::2']) | join(' ') }} {
|
||||
AdvRDNSSLifetime {{ iface.dns_lifetime | default(3600) }};
|
||||
};
|
||||
};
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user