mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
tweak regexp for entries in Supported TX RX - forgot stdout
This commit is contained in:
parent
7113f87f32
commit
438cdf552c
1 changed files with 2 additions and 2 deletions
|
@ -102,14 +102,14 @@
|
|||
num_wifi_interfaces: "{{ count_wifi_interfaces.stdout|int }}"
|
||||
|
||||
- name: Check for Access Point capablility with 'iw list'
|
||||
command: iw list | grep AP | wc -l
|
||||
command: iw list | grep -v AP: | grep AP | wc -l
|
||||
register: look_for_ap
|
||||
when: discovered_wireless_iface != "none"
|
||||
|
||||
- name: Setting can_be_ap
|
||||
set_fact:
|
||||
can_be_ap: True
|
||||
when: look_for_ap|int != "0"
|
||||
when: look_for_ap.stdout|int != 0
|
||||
|
||||
- name: Detect wifi gateway active
|
||||
shell: ip r | grep default | grep {{ discovered_wireless_iface }} | wc -l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue