Browse Source

Restart API when changing checks

Jared Ledvina 9 years ago
parent
commit
15cef46843
1 changed files with 3 additions and 1 deletions
  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