Skip to content

Commit 15df488

Browse files
authored
Update rpi_debian.yml
1 parent eaf81d0 commit 15df488

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

roles/network/tasks/rpi_debian.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
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

0 commit comments

Comments
 (0)