1
0
Fork 0
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:
Jerry Vonau 2018-04-07 11:50:13 -05:00
parent 45ca0da8e6
commit e7872a2a9d
2 changed files with 2 additions and 9 deletions

View file

@ -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"

View file

@ -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"