roles/rpi-base/templates/wpa_supplicant.conf.j2
changeset 4 9ae95d5fa0b7
parent 0 30d8bcb1ebb4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/rpi-base/templates/wpa_supplicant.conf.j2	Mon Jan 29 20:31:46 2018 -0600
@@ -0,0 +1,12 @@
+# {{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}}"
+}
+{% endfor %}