1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Update roles/network/tasks/hostapd.yml

This commit is contained in:
A Holt 2020-05-04 15:32:43 -04:00 committed by GitHub
parent 9142cde8ff
commit ffe33ac76d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
enabled: no
masked: no
- name: Disable hostapd when not using ap0 and wifi gateway present or no WiFi hardware present
- name: Disable hostapd when not using ap0 and wifi gateway present, or no WiFi hardware present
set_fact:
hostapd_enabled: False
when: (not wifi_up_down and discovered_wireless_iface == iiab_wan_iface) or discovered_wireless_iface == "none"