aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all/ipam.yml4
-rw-r--r--ansible/host_vars/lhn2pi/all.yml1
-rw-r--r--ansible/plays/host-lhn2pi.yml1
-rw-r--r--ansible/plays/templates/lhn2pi/systemd/network/20-wifi.network9
4 files changed, 13 insertions, 2 deletions
diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml
index fafe119..4249e07 100644
--- a/ansible/group_vars/all/ipam.yml
+++ b/ansible/group_vars/all/ipam.yml
@@ -36,6 +36,7 @@ ipam6:
netbox: "fdb1:4242:3538:2006:be24:11ff:febb:5c7f/64"
kjell: "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c/64"
nextcloud: "fdb1:4242:3538:2006:be24:11ff:fe56:770/64"
+ sdr: "fdb1:4242:3538:2006:be24:11ff:fe0b:cb99/64"
hash_dn42:
range: "fdb1:4242:3538:2007::/64"
hosts:
@@ -46,7 +47,8 @@ ipam6:
range: "fdb1:4242:3538:2008::/64"
hosts:
lhn2ix: "fdb1:4242:3538:2008::1"
- lhn2pi: "fdb1:4242:3538:2008::ffff"
+ lhn2pi: "fdb1:4242:3538:2008::ffff/64"
+ lhn2pi-wifi: "fdb1:4242:3538:2008:da3a:ddff:fe39:3669/64"
lhn2-z2m: "fdb1:4242:3538:2008:9aed:e460:1711:07dd"
ha-lhn2: "fdb1:4242:3538:2008:9c59:926f:1dc9:89db"
conflatorio: "fdb1:4242:3538:2008:8042:32ff:fe0c:7161"
diff --git a/ansible/host_vars/lhn2pi/all.yml b/ansible/host_vars/lhn2pi/all.yml
index 447906a..1a14858 100644
--- a/ansible/host_vars/lhn2pi/all.yml
+++ b/ansible/host_vars/lhn2pi/all.yml
@@ -1,2 +1,3 @@
systemd_networkd__files:
- lhn2pi/systemd/network/10-eth0.network
+ - lhn2pi/systemd/network/20-wifi.network
diff --git a/ansible/plays/host-lhn2pi.yml b/ansible/plays/host-lhn2pi.yml
index 551c3dd..2a96f73 100644
--- a/ansible/plays/host-lhn2pi.yml
+++ b/ansible/plays/host-lhn2pi.yml
@@ -2,5 +2,4 @@
- lhn2pi
roles:
- systemd-networkd
- - prometheus-bird-exporter
- prometheus-node-exporter
diff --git a/ansible/plays/templates/lhn2pi/systemd/network/20-wifi.network b/ansible/plays/templates/lhn2pi/systemd/network/20-wifi.network
new file mode 100644
index 0000000..75b4587
--- /dev/null
+++ b/ansible/plays/templates/lhn2pi/systemd/network/20-wifi.network
@@ -0,0 +1,9 @@
+[Match]
+Type=wlan
+WLANInterfaceType=station
+
+[Network]
+DHCP=yes
+
+[IPv6AcceptRA]
+DHCPv6Client=no