ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit 30e37ae11aae67c74ed9eff45a9f8a7aa8303f45
parent 2f3229af48ba8d5da08ce20a3a2a87220b9c4a08
Author: Leah Thein <leah@toaster.fritz.box>
Date: Thu, 3 Dec 2020 17:36:01 +0100

common/network: fix for older alpine versions
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/roles/common/templates/interfaces.conf.j2 b/roles/common/templates/interfaces.conf.j2
@@ -14,9 +14,9 @@ iface {{ interface.name }} inet static
 {% endif%}
 
 {% if interface.ipv6 is defined %}
-auto {{ interface.name }}
 {% if interface.ipv6.stateless %}
-iface {{ interface.name }} inet6 auto
+iface {{ interface.name }} inet6 manual
+	pre-up echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_ra
 {% else %}
 iface {{ interface.name }} inet6 static
 	hostname {{ network.hostname }}