summaryrefslogtreecommitdiff
path: root/ansible/roles/hotspot/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/hotspot/handlers/main.yml')
-rw-r--r--ansible/roles/hotspot/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/hotspot/handlers/main.yml b/ansible/roles/hotspot/handlers/main.yml
new file mode 100644
index 0000000..05dfcd6
--- /dev/null
+++ b/ansible/roles/hotspot/handlers/main.yml
@@ -0,0 +1,5 @@
+- name: restart hostapd
+ service: name=hostapd state=restarted enabled=yes
+
+- name: restart dnsmasq
+ service: name=dnsmasq state=restarted