Fixes for the laptop role merged before.

Packages need to be installed before messing around
with network configurations.
This commit is contained in:
Andreas B. Mundt 2024-02-07 16:42:09 +01:00
parent cb41f2cbac
commit 72a134fcbf
4 changed files with 5 additions and 17 deletions

View file

@ -2,11 +2,12 @@
## wget https://cdimage.debian.org/cdimage/firmware/testing/current/firmware.cpio.gz
## cat initrd.gz firmware.cpio.gz > initrd-fw.gz
---
- name: Install iwd
- name: Install packages related to iwd
ansible.builtin.apt:
name:
- iwd
- systemd-resolved
- firmware-realtek # for our wifi sticks
state: latest
- name: Disable wpa-supplicant
@ -39,7 +40,7 @@
# wifi.backend=iwd
# match-device=interface-name:wl*
# managed=0
#
#
# - name: Configure systemd-networkd
# ansible.builtin.copy:
# dest: /etc/systemd/network/80-wlan-dhcp.network
@ -50,7 +51,7 @@
# DHCP=yes
# [DHCPv4]
# UseDomains=true
#
#
- name: Enable systemd-networkd
ansible.builtin.systemd:
name: systemd-networkd.service