File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020 dest : /etc/dhcpcd.conf
2121 src : network/dhcpcd.conf.j2
2222
23- - name : New raspbian requires country code -- check for it
23+ - name : New Raspbian requires country code -- check for it
2424 shell : grep country /etc/wpa_supplicant/wpa_supplicant.conf
2525 register : country_code
2626 ignore_errors : True
2727
28- - name : Put a country code if it does not exist
28+ - name : Put country code ({{ host_country_code }}) in /etc/wpa_supplicant/wpa_supplicant.conf if nec
2929 lineinfile :
30- dest : /etc/wpa_supplicant/wpa_supplicant.conf
30+ path : /etc/wpa_supplicant/wpa_supplicant.conf
3131 regexp : " ^country.*"
3232 line : country={{ host_country_code }}
3333 when : country_code is defined and country_code.stdout == ""
3434
35- - name : Enable the wifi with rfkill
35+ - name : Enable the WiFi with rfkill
3636 shell : rfkill unblock 0
3737 ignore_errors : True
3838
You can’t perform that action at this time.
0 commit comments