1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

hostapd default on

This commit is contained in:
Jerry Vonau 2017-11-18 15:47:12 -05:00
parent 3c2090424b
commit 65214d84f2

View file

@ -14,10 +14,10 @@
mode=0644
when: discovered_wireless_iface is defined
- name: Disable the Access Point 'hostapd' service
service: enabled=no
- name: Enable the Access Point 'hostapd' service
service: enabled=yes
name=hostapd.service
when: not iiab_wireless_lan_iface is defined or iiab_network_mode == "Appliance" or not hostapd_enabled
when: iiab_wireless_lan_iface is defined and iiab_network_mode != "Appliance" and hostapd_enabled
- name: Use custom systemd unit file to start 'hostapd' service
template: src=hostapd/hostapd.service.j2