summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-10-07 15:34:46 -0400
committerScott Dodson <sdodson@redhat.com>2016-10-07 15:35:22 -0400
commit18e86fba21160c01f5a33b39ce5d1aee92e3c494 (patch)
tree9f1279d0270fa8fc923db2d7389ce3a86ed90ffb /roles
parent2cf43b8cf6a2f925b03585c16dbf451cb4cbb23c (diff)
downloadopenshift-18e86fba21160c01f5a33b39ce5d1aee92e3c494.tar.gz
openshift-18e86fba21160c01f5a33b39ce5d1aee92e3c494.tar.bz2
openshift-18e86fba21160c01f5a33b39ce5d1aee92e3c494.tar.xz
openshift-18e86fba21160c01f5a33b39ce5d1aee92e3c494.zip
[logging] Fix openshift_hosted_logging_fluentd_nodeselector
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted_logging/tasks/deploy_logging.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
index f64c56248..65af1c08e 100644
--- a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
+++ b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
@@ -138,7 +138,7 @@
delay: 5
- name: "Deploy fluentd by labeling the node"
- shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig label node --overwrite=true {{ '-l openshift_hosted_logging_fluentd_nodeselector' if openshift_hosted_logging_fluentd_nodeselector is defined else '--all' }} {{ openshift_hosted_logging_fluentd_nodeselector_label if openshift_hosted_logging_fluentd_nodeselector_label is defined else 'logging-infra-fluentd=true' }}"
+ shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig label node --overwrite=true {{ '-l' ~ openshift_hosted_logging_fluentd_nodeselector if openshift_hosted_logging_fluentd_nodeselector is defined else '--all' }} {{ openshift_hosted_logging_fluentd_nodeselector_label if openshift_hosted_logging_fluentd_nodeselector_label is defined else 'logging-infra-fluentd=true' }}"
- name: "Wait for fluentd to be running"
shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig get pods -l component=fluentd | grep Running"