mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
fix enabling hostapd
This commit is contained in:
parent
45ca0da8e6
commit
e7872a2a9d
2 changed files with 2 additions and 9 deletions
|
@ -46,9 +46,6 @@
|
|||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Enable/Restart the Access Point 'hostapd' service
|
||||
service:
|
||||
# enabled: yes
|
||||
state: restarted
|
||||
name: hostapd.service
|
||||
- name: Ansible is having a problem enabling hostapd service
|
||||
shell: systemctl enable hostapd
|
||||
when: hostapd_enabled and iiab_wireless_lan_iface is defined and iiab_network_mode != "Appliance"
|
||||
|
|
|
@ -67,10 +67,6 @@
|
|||
state: restarted
|
||||
when: hostapd_enabled and iiab_wan_iface != discovered_wireless_iface and iiab_network_mode != "Appliance"
|
||||
|
||||
- name: Ansible is having a problem enabling services
|
||||
shell: systemctl enable hostapd
|
||||
when: hostapd_enabled and iiab_wan_iface != discovered_wireless_iface and iiab_network_mode != "Appliance"
|
||||
|
||||
#- name: dhcp_server may be affected - starting - user choice
|
||||
# service: name={{ dhcp_service2 }} state=started
|
||||
# when: iiab_network_mode != "Appliance"
|
||||
|
|
Loading…
Add table
Reference in a new issue