mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Merge pull request #3928 from jvonau/race
delay hostapd to allow ap0 to stabilize
This commit is contained in:
commit
7e56a53549
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue