From 0bbc4c1559e86166c81fce65f0670fd27e28fbe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Fri, 19 May 2017 22:52:33 +0200 Subject: [PATCH] filebeat: fix bad conditions merge --- filebeat/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/filebeat/tasks/main.yml b/filebeat/tasks/main.yml index e91ad742..84d1e8ea 100644 --- a/filebeat/tasks/main.yml +++ b/filebeat/tasks/main.yml @@ -56,4 +56,8 @@ args: warn: no changed_when: False - when: usr_partition.rc == 0 and filebeat_logstash_plugin and logstash_plugin.stat.exists and not logstash_plugin_installed | success + when: usr_partition.rc == 0 + when: + - filebeat_logstash_plugin + - logstash_plugin.stat.exists + - not logstash_plugin_installed | success