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:
parent
3c2090424b
commit
65214d84f2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue