summaryrefslogtreecommitdiff
path: root/roles/ws/minet/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ws/minet/tasks/main.yml')
-rw-r--r--roles/ws/minet/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/ws/minet/tasks/main.yml b/roles/ws/minet/tasks/main.yml
index 654f42de..c567a76a 100644
--- a/roles/ws/minet/tasks/main.yml
+++ b/roles/ws/minet/tasks/main.yml
@@ -47,3 +47,12 @@
src: openwifi-connection.j2
dest: "/usr/local/lib/minet/{{ item.key }}"
mode: 0755
+
+- name: install wpa_supplicant config
+ when: ws_minet_wpa_supplicant_conf is defined
+ copy:
+ content: "{{ ws_minet_wpa_supplicant_conf }}"
+ dest: /etc/wpa_supplicant.conf
+ owner: root
+ group: root
+ mode: 0600