1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

delay hostapd to allow ap0 to stabilize

This commit is contained in:
Jerry Vonau 2025-01-30 12:24:44 -06:00
parent 18c287fe27
commit 6c5b4c35ec

View file

@ -28,6 +28,10 @@
state: restarted
when: wifi_up_down and can_be_ap and ansible_ap0 is undefined
- name: Waiting {{ hostapd_wait }} seconds for network to stabilize for ap0
shell: sleep {{ hostapd_wait }}
when: ansible_ap0 is undefined
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway
systemd:
name: hostapd