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

@ -1,6 +1,5 @@
---
# temporary disable network manager
# in future network manager will be used for wifi sticks
- name: Use iwd but ignore interfaces managed by systemd-networkd (wlan0,en*)
blockinfile:
dest: /etc/NetworkManager/NetworkManager.conf
@ -20,13 +19,6 @@
#state: started
enabled: true
- name: install firmware for wifi-sticks
apt:
name:
- firmware-realtek
state: latest
autoremove: true
- name: Configure systemd-networkd virbr1.netdev
ansible.builtin.copy:
dest: "/etc/systemd/network/30-{{ item }}.netdev"