mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Clarify 'raspi-config nonint do_wifi_country XX'
This commit is contained in:
parent
6a6d153034
commit
4a3e9517dc
2 changed files with 11 additions and 3 deletions
|
@ -68,10 +68,12 @@
|
|||
#### End services
|
||||
|
||||
#### Start network layout
|
||||
- name: Unblock WiFi on RaspiOS
|
||||
shell: raspi-config nonint do_wifi_country {{ host_country_code }}
|
||||
ignore_errors: True
|
||||
|
||||
# 2024-12-18: As `rfkill unblock wifi` formerly in rpi_debian.yml isn't enough, especially with NM (NetworkManager)
|
||||
- name: Run 'raspi-config nonint do_wifi_country {{ host_country_code }}' (using var host_country_code) to unblock WiFi, if RasPiOS
|
||||
command: raspi-config nonint do_wifi_country {{ host_country_code }}
|
||||
when: is_raspbian
|
||||
#ignore_errors: True
|
||||
|
||||
#- name: Redhat networking
|
||||
# include_tasks: ifcfg_mods.yml
|
||||
|
|
|
@ -53,6 +53,12 @@
|
|||
line: country={{ host_country_code }}
|
||||
when: country_code.stdout is defined and country_code.stdout | length == 0
|
||||
|
||||
# 2024-12-18: SEE 'raspi-config nonint do_wifi_country {{ host_country_code }}' in roles/network/tasks/main.yml
|
||||
# # This should go away, should only be unblocked by raspi-config
|
||||
# - name: Enable the WiFi with rfkill
|
||||
# shell: rfkill unblock wifi
|
||||
# ignore_errors: True
|
||||
|
||||
- name: Copy the bridge script for RPi
|
||||
template:
|
||||
dest: /etc/network/interfaces.d/iiab
|
||||
|
|
Loading…
Add table
Reference in a new issue