summaryrefslogtreecommitdiffstats
path: root/roles/oso_host_monitoring/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/oso_host_monitoring/handlers/main.yml')
-rw-r--r--roles/oso_host_monitoring/handlers/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/oso_host_monitoring/handlers/main.yml b/roles/oso_host_monitoring/handlers/main.yml
new file mode 100644
index 000000000..7863ad15b
--- /dev/null
+++ b/roles/oso_host_monitoring/handlers/main.yml
@@ -0,0 +1,12 @@
+---
+- name: "Restart the {{ osohm_host_monitoring }} service"
+ service:
+ name: "{{ osohm_host_monitoring }}"
+ state: restarted
+ enabled: yes
+
+- name: "Restart the {{ osohm_zagg_client }} service"
+ service:
+ name: "{{ osohm_zagg_client }}"
+ state: restarted
+ enabled: yes