mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
tighten up when to run wifi detection
This commit is contained in:
parent
908c8f4951
commit
4fe56e787e
1 changed files with 1 additions and 1 deletions
|
@ -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: discovered_wireless_iface != "none"
|
||||
when: has_wifi_gateway is defined
|
||||
|
||||
- name: Setting WiFi channel to {{ current_client_channel.stdout }}
|
||||
set_fact:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue