diff options
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 |