rpi-base/templates/wpa_supplicant.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 01 Aug 2020 11:10:30 -0500
changeset 126 1fe8b35714f6
parent 3 0dc5400538ef
permissions -rw-r--r--
Added auto upgrades to base.

# {{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 %}