Configure /etc/wpa_supplicant.conf
Customize the variables to your needs.
[defaults/main/wpasupconf.yml]
1---
2
3# /etc/wpa_supplicant.conf
4bsd_cimage_wpasupconf: false
5bsd_cimage_wpasupconf_backup: false
6bsd_cimage_wpasupconf_file: /etc/wpa_supplicant.conf
7bsd_cimage_wpasupconf_owner: root
8bsd_cimage_wpasupconf_group: wheel
9bsd_cimage_wpasupconf_mode: "0640"
10bsd_cimage_wpasupconf_global: []
11# bsd_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'}
15bsd_cimage_wpasupconf_data: []
16# bsd_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'}
27bsd_cimage_wpasupconf_link: false
28bsd_cimage_wpasupconf_link_dev: wlan0
29
30# EOF
See also
Warning
Don’t make any changes to the files in defaults/main. The changes will be overwritten by the update of the role. Customize the default values in the files in vars/main.