瀏覽代碼

Revert "Use 'length' filter on remote plugins conditional"

This reverts commit 2e5ffe631c3ba2bcbb593969f7e160fe0f93ae1c.
cmacrae 9 年之前
父節點
當前提交
ad327a8636
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/plugins.yml

+ 1 - 1
tasks/plugins.yml

@@ -14,7 +14,7 @@
     shell: sensu-install -p {{ item }}
     with_items: sensu_remote_plugins
     changed_when: false
-    when: sensu_remote_plugins|length > 0
+    when: sensu_remote_plugins > 0
 
   - name: Register available checks
     local_action: command ls {{ static_data_store }}/sensu/checks