Explorar o código

Restart API when changing checks

Jared Ledvina %!s(int64=10) %!d(string=hai) anos
pai
achega
15cef46843
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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