roles/base/templates/wpa_supplicant.conf.j2
changeset 0 30d8bcb1ebb4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/base/templates/wpa_supplicant.conf.j2	Fri Jan 19 11:48:25 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 %}