1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

tighten up when to run wifi detection more

This commit is contained in:
Jerry Vonau 2023-04-22 22:05:01 -05:00
parent 8aaa459d9c
commit 262ca468e9

View file

@ -12,7 +12,7 @@
- name: Detect current Wifi channel
shell: iw {{ discovered_wireless_iface }} info | grep channel | cut -d' ' -f2
register: current_client_channel
when: has_wifi_gateway is defined
when: wifi_up_down and can_be_ap and has_wifi_gateway is defined
- name: Setting WiFi channel to {{ current_client_channel.stdout }}
set_fact: