summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-04-28 11:56:07 -0500
committerGitHub <noreply@github.com>2017-04-28 11:56:07 -0500
commita28e148920f093858511a1a63881502adb64f1a4 (patch)
tree84fb603ed2abd601f8cc5b3485f09c22cb2b93b1
parentb23be0da38759744cebc8d4b454af1299d97a445 (diff)
parent275e302be228bfd5587a3b2eb90362f65b9c48ff (diff)
downloadopenshift-a28e148920f093858511a1a63881502adb64f1a4.tar.gz
openshift-a28e148920f093858511a1a63881502adb64f1a4.tar.bz2
openshift-a28e148920f093858511a1a63881502adb64f1a4.tar.xz
openshift-a28e148920f093858511a1a63881502adb64f1a4.zip
Merge pull request #4018 from ewolinetz/issue4007
Merged by openshift-bot
-rw-r--r--roles/openshift_logging/tasks/start_cluster.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/openshift_logging/tasks/start_cluster.yaml b/roles/openshift_logging/tasks/start_cluster.yaml
index 1042b3daa..ef9a42a9e 100644
--- a/roles/openshift_logging/tasks/start_cluster.yaml
+++ b/roles/openshift_logging/tasks/start_cluster.yaml
@@ -39,7 +39,10 @@
with_items: "{{ mux_dc.results.results[0]['items'] | map(attribute='metadata.name') | list }}"
loop_control:
loop_var: object
- when: openshift_logging_use_mux
+ when:
+ - mux_dc.results is defined
+ - mux_dc.results.results is defined
+ - openshift_logging_use_mux
- name: Retrieve elasticsearch
oc_obj: