diff options
| author | Trygve Laugstøl <trygvis@inamo.no> | 2025-12-28 11:30:16 +0100 |
|---|---|---|
| committer | Trygve Laugstøl <trygvis@inamo.no> | 2025-12-28 11:30:16 +0100 |
| commit | db78f7a3b81ae597309a7c62a0efaa750bb56838 (patch) | |
| tree | c1e21458516b8b421e78fb6b384c3b0bb2f8fd76 | |
| parent | 9e8a66d8fbe7068617ef5d5563bc16076d10d97c (diff) | |
| download | infra-db78f7a3b81ae597309a7c62a0efaa750bb56838.tar.gz infra-db78f7a3b81ae597309a7c62a0efaa750bb56838.tar.bz2 infra-db78f7a3b81ae597309a7c62a0efaa750bb56838.tar.xz infra-db78f7a3b81ae597309a7c62a0efaa750bb56838.zip | |
lhn2pi: wifi
| -rw-r--r-- | ansible/host_vars/lhn2pi/all.yml | 1 | ||||
| -rw-r--r-- | ansible/plays/host-lhn2pi.yml | 1 | ||||
| -rw-r--r-- | ansible/plays/templates/lhn2pi/systemd/network/20-wifi.network | 9 |
3 files changed, 10 insertions, 1 deletions
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 |
