Configure /etc/wpa_supplicant.conf

Customize the variables to your needs.

 1---
 2# /etc/wpa_supplicant.conf
 3cimage_wpasupconf: false
 4cimage_wpasupconf_backup: false
 5cimage_wpasupconf_template: wpa_supplicant.conf.j2
 6cimage_wpasupconf_file: /etc/wpa_supplicant.conf
 7cimage_wpasupconf_owner: root
 8cimage_wpasupconf_group: wheel
 9cimage_wpasupconf_mode: "0640"
10cimage_wpasupconf_global: []
11# cimage_wpasupconf_global:
12#   - {key: ctrl_interface, value: /var/run/wpa_supplicant}
13#   - {key: ctrl_interface_group, value: wheel}
14#   - {key: fast_reauth, value: '1'}
15cimage_wpasupconf_data: []
16# cimage_wpasupconf_data:
17#   - dev: wlan0
18#     network:
19#       - conf:
20#           - {key: ssid, value: '"MY-AP1"'}
21#           - {key: psk, value: '"MY-AP1-PASSWORD"'}
22#           - {key: disabled, value: '1'}
23#       - conf:
24#           - {key: ssid, value: '"MY-AP2"'}
25#           - {key: psk, value: '"MY-AP2-PASSWORD"'}
26#           - {key: disabled, value: '0'}
27cimage_wpasupconf_link: false
28cimage_wpasupconf_link_dev: wlan0
29
30# EOF

Warning

  • Don’t make any changes in the files in the directory defaults/main. The role update will overwrite the changes.