1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

detected_network.yml: 'when: look_for_ap.failed is defined and...'

This commit is contained in:
root 2022-05-19 00:04:57 -04:00
parent 4d5143e2de
commit 1df0263281

View file

@ -110,7 +110,7 @@
- name: Set can_be_ap if 'iw list' output contains suitable '* AP'
set_fact:
can_be_ap: True
when: look_for_ap is defined and not look_for_ap.failed
when: look_for_ap.failed is defined and not look_for_ap.failed
- name: Detect wifi gateway active
shell: ip r | grep default | grep {{ discovered_wireless_iface }} | wc -l