ADD import roles

This commit is contained in:
2024-09-15 09:42:20 +02:00
parent 4798dde38c
commit e6027e9078
36 changed files with 1129 additions and 0 deletions
+24
View File
@@ -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 %}