Jelajahi Sumber

Adding play for deployment of filters

cmacrae 10 tahun lalu
induk
melakukan
925ad9d9ef
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      tasks/plugins.yml

+ 6 - 0
tasks/plugins.yml

@@ -24,6 +24,12 @@
           owner={{ sensu_user_name }} group={{ sensu_group_name }}
           owner={{ sensu_user_name }} group={{ sensu_group_name }}
     notify: restart sensu-client service
     notify: restart sensu-client service
 
 
+  - name: Deploy filter plugins
+    copy: src={{ static_data_store }}/sensu/filters/
+          dest={{ sensu_config_path }}/plugins/ mode=755
+          owner={{ sensu_user_name }} group={{ sensu_group_name }}
+    notify: restart sensu-client service
+
   - name: Deploy mutator plugins
   - name: Deploy mutator plugins
     copy: src={{ static_data_store }}/sensu/mutators/
     copy: src={{ static_data_store }}/sensu/mutators/
           dest={{ sensu_config_path }}/plugins/ mode=755
           dest={{ sensu_config_path }}/plugins/ mode=755