Mask WPA supplicant to fix suspected timing issue sometimes preventing the AP from starting
This commit is contained in:
parent
fbc2bd4cea
commit
f334bd419b
1 changed files with 12 additions and 0 deletions
|
|
@ -93,6 +93,18 @@
|
||||||
state: absent
|
state: absent
|
||||||
with_items:
|
with_items:
|
||||||
- "restapi.service"
|
- "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
|
- name: Copy dnsmasq config
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue