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:
parent
18c287fe27
commit
6c5b4c35ec
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
when: wifi_up_down and can_be_ap and ansible_ap0 is undefined
|
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
|
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway
|
||||||
systemd:
|
systemd:
|
||||||
name: hostapd
|
name: hostapd
|
||||||
|
|
Loading…
Reference in a new issue