mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
detected_network.yml: Clarify #3329 can_be_ap grep RC
This commit is contained in:
parent
9d43b1ebed
commit
5499f09ec4
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@
|
|||
|
||||
- name: Run 'iw list' to check for Access Point capability -- if discovered_wireless_iface != "none"
|
||||
# shell: iw list | grep -v AP: | grep AP | wc -l # False positives 'EAP' etc
|
||||
shell: iw list | grep '^[[:space:]]*\* AP$'
|
||||
shell: iw list | grep '^[[:space:]]*\* AP$' # If grep doesn't find the regex, it returns 1 (hence 'ignore_errors: yes' below)
|
||||
register: look_for_ap
|
||||
when: discovered_wireless_iface != "none" # Line not nec (but can't hurt?)
|
||||
ignore_errors: yes # 'failed_when: False' hides red errors, but is too strong (renders useless the look_for_ap.failed test below!)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue