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:
parent
0c4df6c42c
commit
a16be49be5
1 changed files with 9 additions and 0 deletions
|
@ -255,6 +255,11 @@
|
||||||
register: current_client_channel
|
register: current_client_channel
|
||||||
when: wifi_up_down and can_be_ap and has_wifi_gateway is defined
|
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
|
- name: In VM disable LAN - needs local_vars entry to activate
|
||||||
set_fact:
|
set_fact:
|
||||||
iiab_lan_iface: none
|
iiab_lan_iface: none
|
||||||
|
@ -313,6 +318,10 @@
|
||||||
value: "{{ can_be_ap }}"
|
value: "{{ can_be_ap }}"
|
||||||
- option: host_country_code_found
|
- option: host_country_code_found
|
||||||
value: "{{ host_country_code }}"
|
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 }}
|
- name: Add 'detected_network' variable 'current_client_channel_found' value if defined, to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue