summaryrefslogtreecommitdiff
path: root/ansible/roles/hotspot/tasks/main.yml
blob: b2be8eeed198e0947c8d1b03d614cc8e99a3effc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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