mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
blacklist_wifi -> reserved_wifi as a better discription of the use case
Document option for use in local_vars - used with BM's U17 install
This commit is contained in:
parent
dc580ef2ee
commit
4cc6da39fb
1 changed files with 3 additions and 4 deletions
|
@ -81,11 +81,10 @@
|
|||
ap_device: "eth0"
|
||||
when: iiab_wan_iface != "eth0" and discovered_wireless_iface != "none" and xo_model == "XO-1.5"
|
||||
|
||||
# takes adapter name
|
||||
- name: Blacklisted WiFi adapter
|
||||
- name: Exclude reserved WiFi adapter if defined - takes adapter name
|
||||
set_fact:
|
||||
ap_device: "{{ blacklist_wifi }}"
|
||||
when: blacklist_wifi is defined and discovered_wireless_iface != iiab_wan_iface and num_wifi_interfaces >= "2"
|
||||
ap_device: "{{ reserved_wifi }}"
|
||||
when: reserved_wifi is defined and discovered_wireless_iface != iiab_wan_iface and num_wifi_interfaces >= "2"
|
||||
|
||||
- name: Count LAN ifaces
|
||||
shell: ls /sys/class/net | grep -v -e wwlan -e ppp -e lo -e br0 -e tun -e {{ device_gw }} -e {{ ap_device }} | wc -l
|
||||
|
|
Loading…
Reference in a new issue