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

don't check for wifi slaves if wifi gateway

This commit is contained in:
Jerry Vonau 2020-04-14 10:52:52 -05:00
parent 09c7c3e252
commit 7db1464b76

View file

@ -65,7 +65,7 @@
- name: Checking if WiFi slave is active
shell: brctl show br0 | grep {{ iiab_wireless_lan_iface }} | wc -l
when: hostapd_enabled and iiab_wireless_lan_iface is defined and iiab_lan_iface == "br0"
when: hostapd_enabled and discovered_wireless_iface != iiab_wan_iface and iiab_lan_iface == "br0"
register: wifi_slave
- name: Restart hostapd if WiFi slave is inactive