mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
deal with unblocking wifi while NM is active on newer RaspiOS
This commit is contained in:
parent
299228e31e
commit
6a6d153034
2 changed files with 5 additions and 5 deletions
|
@ -68,6 +68,11 @@
|
|||
#### End services
|
||||
|
||||
#### Start network layout
|
||||
- name: Unblock WiFi on RaspiOS
|
||||
shell: raspi-config nonint do_wifi_country {{ host_country_code }}
|
||||
ignore_errors: True
|
||||
when: is_raspbian
|
||||
|
||||
#- name: Redhat networking
|
||||
# include_tasks: ifcfg_mods.yml
|
||||
# when: is_redhat
|
||||
|
|
|
@ -53,11 +53,6 @@
|
|||
line: country={{ host_country_code }}
|
||||
when: country_code.stdout is defined and country_code.stdout | length == 0
|
||||
|
||||
# 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