diff --git a/roles/network/tasks/hostapd.yml b/roles/network/tasks/hostapd.yml index e4eccedb6..6b56a675c 100644 --- a/roles/network/tasks/hostapd.yml +++ b/roles/network/tasks/hostapd.yml @@ -6,7 +6,7 @@ mode=0644 when: iiab_wireless_lan_iface != "none" -- name: Disable the Access Point Hostapd program +- name: Disable the Access Point hostapd program service: enabled=no name=hostapd.service state=stopped @@ -19,10 +19,10 @@ group=root mode=0644 -- name: ask systemd to reread the unit files for hostapd +- name: Ask systemd to reread the unit files for hostapd shell: systemctl daemon-reload -- name: Enable the Access Point Hostapd program +- name: Enable the Access Point hostapd program service: enabled=yes name=hostapd.service state=restarted