diff options
author | Ivan Dolgov <ivan@qvarnlabs.com> | 2016-09-13 11:51:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-09-26 16:10:09 +0300 |
commit | ef137489a2af825da682169ed3a532c452e4f68c (patch) | |
tree | 70930116aa6186fddfedcb0649008762d23cad76 /ansible/roles/hotspot/tasks/main.yml | |
parent | 92294c460d9a4442fc255ae393e94aa982e76252 (diff) | |
download | minipc-router-ef137489a2af825da682169ed3a532c452e4f68c.tar.gz |
Add hotspot
Diffstat (limited to 'ansible/roles/hotspot/tasks/main.yml')
-rw-r--r-- | ansible/roles/hotspot/tasks/main.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ansible/roles/hotspot/tasks/main.yml b/ansible/roles/hotspot/tasks/main.yml new file mode 100644 index 0000000..b2be8ee --- /dev/null +++ b/ansible/roles/hotspot/tasks/main.yml @@ -0,0 +1,15 @@ +- name: install hotspot dependencies + apt: name={{ item }} state=present + with_items: + - firmware-ralink + - iw + - wireless-tools + - hostapd + +- name: copy hostapd conf + template: src=hostapd.conf.j2 dest=/etc/hostapd/hostapd.conf + notify: restart hostapd + +- name: copy default hostapd conf + copy: src=hostapd dest=/etc/default/hostapd + notify: restart hostapd |