summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_fluentd
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-11 09:26:53 -0400
committerGitHub <noreply@github.com>2017-08-11 09:26:53 -0400
commit372d55eaa811c3faaad36ac65150a5bf2e639812 (patch)
tree284f5f4eb25b31661d70a9eccfd542e84610de02 /roles/openshift_logging_fluentd
parent9902edb3acc93867afa0a579dc52978d9da35365 (diff)
parentc84f11d71f89ae9ac0c93f3da4f74c742346612e (diff)
downloadopenshift-372d55eaa811c3faaad36ac65150a5bf2e639812.tar.gz
openshift-372d55eaa811c3faaad36ac65150a5bf2e639812.tar.bz2
openshift-372d55eaa811c3faaad36ac65150a5bf2e639812.tar.xz
openshift-372d55eaa811c3faaad36ac65150a5bf2e639812.zip
Merge pull request #5047 from rhcarvalho/fix-when-warning
Fix syntax for when statement
Diffstat (limited to 'roles/openshift_logging_fluentd')
-rw-r--r--roles/openshift_logging_fluentd/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging_fluentd/tasks/main.yaml b/roles/openshift_logging_fluentd/tasks/main.yaml
index 9dfc6fc86..74b4d7db4 100644
--- a/roles/openshift_logging_fluentd/tasks/main.yaml
+++ b/roles/openshift_logging_fluentd/tasks/main.yaml
@@ -1,7 +1,7 @@
---
- fail:
msg: Only one Fluentd nodeselector key pair should be provided
- when: "{{ openshift_logging_fluentd_nodeselector.keys() | count }} > 1"
+ when: openshift_logging_fluentd_nodeselector.keys() | count > 1
- fail:
msg: Application logs destination is required