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:
parent
6d985ac30a
commit
6173e59b1d
1 changed files with 3 additions and 3 deletions
|
@ -6,19 +6,19 @@
|
||||||
mode=0644
|
mode=0644
|
||||||
when: discovered_wireless_iface is defined
|
when: discovered_wireless_iface is defined
|
||||||
|
|
||||||
- name: Disable the Access Point Hostapd program
|
- name: Disable the Access Point 'hostapd' service
|
||||||
service: enabled=no
|
service: enabled=no
|
||||||
name=hostapd.service
|
name=hostapd.service
|
||||||
when: not iiab_wireless_lan_iface is defined or iiab_network_mode == "Appliance" or not hostapd_enabled
|
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
|
template: src=hostapd/hostapd.service.j2
|
||||||
dest=/etc/systemd/system/hostapd.service
|
dest=/etc/systemd/system/hostapd.service
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
mode=0644
|
mode=0644
|
||||||
|
|
||||||
- name: Enable the Access Point Hostapd program
|
- name: Enable the Access Point 'hostapd' service
|
||||||
service: enabled=yes
|
service: enabled=yes
|
||||||
name=hostapd.service
|
name=hostapd.service
|
||||||
when: iiab_wireless_lan_iface is defined and iiab_network_mode != "Appliance" and hostapd_enabled
|
when: iiab_wireless_lan_iface is defined and iiab_network_mode != "Appliance" and hostapd_enabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue