Parcourir la source

Restart API when changing checks

Jared Ledvina il y a 10 ans
Parent
commit
15cef46843
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      tasks/plugins.yml

+ 3 - 1
tasks/plugins.yml

@@ -69,4 +69,6 @@
     when: sensu_master
     with_lines:
       - ls {{ static_data_store }}/sensu/definitions | sed 's/\.j2//'
-    notify: restart sensu-server service
+    notify: 
+      - restart sensu-server service
+      - restart sensu-api service