summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2017-01-31 15:49:18 -0600
committerGitHub <noreply@github.com>2017-01-31 15:49:18 -0600
commit2683c3de24f9600e0ee6a84d3f266635c71b336a (patch)
tree44f163d72cf0630882253c529758d656db6ed61b
parentc5ca64c4c02e5a881960eb275eb1b342582fecee (diff)
parentee2d38fab39584ec50b73c01f389bd774958b73a (diff)
downloadopenshift-2683c3de24f9600e0ee6a84d3f266635c71b336a.tar.gz
openshift-2683c3de24f9600e0ee6a84d3f266635c71b336a.tar.bz2
openshift-2683c3de24f9600e0ee6a84d3f266635c71b336a.tar.xz
openshift-2683c3de24f9600e0ee6a84d3f266635c71b336a.zip
Merge pull request #3237 from ewolinetz/logging_fix_fluentd_ops_host
Adding bool filter to ensure that we correctly set ops host for fluentd
-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