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

hostapd - disable before enable

Similar workarounds exist in named.yml and dhcpd.yml, just go with the flow
This commit is contained in:
Jerry Vonau 2018-04-08 19:22:57 -05:00
parent 367164029c
commit ceb4d7d901
2 changed files with 2 additions and 7 deletions

View file

@ -1,9 +1,3 @@
- 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: Disable dhcpd service
service: name=dhcpd
enabled=no

View file

@ -44,7 +44,8 @@
systemd:
name: hostapd
enabled: no
when: not hostapd_enabled
# cheap workaround for when /etc/init.d is populated
# when: not hostapd_enabled
- name: Enable the Access Point 'hostapd' service
systemd: