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

add recording of firmware selection and force wifi_up_down false when required

This commit is contained in:
Jerry Vonau 2025-01-15 03:16:16 -06:00
parent 0c4df6c42c
commit a16be49be5

View file

@ -255,6 +255,11 @@
register: current_client_channel
when: wifi_up_down and can_be_ap and has_wifi_gateway is defined
- name: Forcing wifi_up_down to False based on firmware selection "24"
set_fact:
wifi_up_down: False
when: rpi3bplus_rpi4_wifi_firmware == "24"
- name: In VM disable LAN - needs local_vars entry to activate
set_fact:
iiab_lan_iface: none
@ -313,6 +318,10 @@
value: "{{ can_be_ap }}"
- option: host_country_code_found
value: "{{ host_country_code }}"
- option: firmware_option_1
value: "{{ rpi3bplus_rpi4_wifi_firmware }}"
- option: firmware_option_2
value: "{{ rpizerow_rpi3_wifi_firmware }}"
- name: Add 'detected_network' variable 'current_client_channel_found' value if defined, to {{ iiab_ini_file }}
ini_file: