From f334bd419bbc3e7c65c787e5c7dcd541c820b834 Mon Sep 17 00:00:00 2001 From: Ana Custura Date: Fri, 10 Jul 2026 16:13:48 +0100 Subject: [PATCH] Mask WPA supplicant to fix suspected timing issue sometimes preventing the AP from starting --- ansible/install-rasp-ap.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ansible/install-rasp-ap.yml b/ansible/install-rasp-ap.yml index e9e390a..536960d 100644 --- a/ansible/install-rasp-ap.yml +++ b/ansible/install-rasp-ap.yml @@ -93,6 +93,18 @@ state: absent with_items: - "restapi.service" + - "wpa_supplicant.service" + - "wpa_supplicant@wlan0.service" + + - name: Mask wpa_supplicant by creating /dev/null symlinks + ansible.builtin.file: + path: "/etc/systemd/system/{{ item }}" + src: /dev/null + state: link + force: yes + with_items: + - "wpa_supplicant.service" + - "wpa_supplicant@wlan0.service" - name: Copy dnsmasq config ansible.builtin.template: