summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-01-31 15:04:42 -0600
committerewolinetz <ewolinet@redhat.com>2017-01-31 15:04:42 -0600
commitee2d38fab39584ec50b73c01f389bd774958b73a (patch)
tree00651d1a5971de73f625cdaf7cd6add2c41896e4 /roles
parent643d1d60919e3f2a258744e0c0b7b3a9105f9828 (diff)
downloadopenshift-ee2d38fab39584ec50b73c01f389bd774958b73a.tar.gz
openshift-ee2d38fab39584ec50b73c01f389bd774958b73a.tar.bz2
openshift-ee2d38fab39584ec50b73c01f389bd774958b73a.tar.xz
openshift-ee2d38fab39584ec50b73c01f389bd774958b73a.zip
Adding bool filter to ensure that we correctly set ops host for fluentd
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_logging/tasks/install_fluentd.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging/tasks/install_fluentd.yaml b/roles/openshift_logging/tasks/install_fluentd.yaml
index 4c510c6e7..35273829c 100644
--- a/roles/openshift_logging/tasks/install_fluentd.yaml
+++ b/roles/openshift_logging/tasks/install_fluentd.yaml
@@ -1,8 +1,8 @@
---
-- set_fact: fluentd_ops_host={{ (openshift_logging_use_ops) | ternary(openshift_logging_es_ops_host, openshift_logging_es_host) }}
+- set_fact: fluentd_ops_host={{ (openshift_logging_use_ops | bool) | ternary(openshift_logging_es_ops_host, openshift_logging_es_host) }}
check_mode: no
-- set_fact: fluentd_ops_port={{ (openshift_logging_use_ops) | ternary(openshift_logging_es_ops_port, openshift_logging_es_port) }}
+- set_fact: fluentd_ops_port={{ (openshift_logging_use_ops | bool) | ternary(openshift_logging_es_ops_port, openshift_logging_es_port) }}
check_mode: no
- name: Generating Fluentd daemonset