rpi-base/templates/wpa_supplicant.conf.j2
author Luke Hoersten <luke@hoersten.org>
Thu, 26 Nov 2020 18:29:22 -0600
changeset 146 3e5aac52f2bd
parent 3 0dc5400538ef
permissions -rw-r--r--
Expanded yaml file extension name.

# {{ansible_managed}}

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
{% for network in wpa_networks %}

network={
    ssid="{{network.ssid}}"
    psk="{{network.psk}}"
    disabled={% if rpi_base_enable_wifi %}0{% else %}1{% endif %}

}
{% endfor %}