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

clarif: 'hostapd' service

This commit is contained in:
A Holt 2017-11-08 01:53:19 -05:00 committed by GitHub
parent 6d985ac30a
commit 6173e59b1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,19 +6,19 @@
mode=0644
when: discovered_wireless_iface is defined
- name: Disable the Access Point Hostapd program
- name: Disable the Access Point 'hostapd' service
service: enabled=no
name=hostapd.service
when: not iiab_wireless_lan_iface is defined or iiab_network_mode == "Appliance" or not hostapd_enabled
- name: Use custom systemd unit file to start hostapd
- name: Use custom systemd unit file to start 'hostapd' service
template: src=hostapd/hostapd.service.j2
dest=/etc/systemd/system/hostapd.service
owner=root
group=root
mode=0644
- name: Enable the Access Point Hostapd program
- name: Enable the Access Point 'hostapd' service
service: enabled=yes
name=hostapd.service
when: iiab_wireless_lan_iface is defined and iiab_network_mode != "Appliance" and hostapd_enabled