summaryrefslogtreecommitdiff
path: root/roles/mosquitto/broker/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mosquitto/broker/handlers/main.yml')
-rw-r--r--roles/mosquitto/broker/handlers/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/mosquitto/broker/handlers/main.yml b/roles/mosquitto/broker/handlers/main.yml
new file mode 100644
index 00000000..c188764d
--- /dev/null
+++ b/roles/mosquitto/broker/handlers/main.yml
@@ -0,0 +1,10 @@
+---
+- name: restart mosquitto
+ service:
+ name: mosquitto
+ state: restarted
+
+- name: reload mosquitto
+ service:
+ name: mosquitto
+ state: reloaded