rpi-base/templates/wpa_supplicant.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 16 May 2020 10:07:24 -0500
changeset 26 b0e4ad2f4291
parent 3 0dc5400538ef
permissions -rw-r--r--
Fix writefreely role to be idempotent.

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