From 275e302be228bfd5587a3b2eb90362f65b9c48ff Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 26 Apr 2017 11:52:55 -0500 Subject: Adding checks for starting mux for 2.2.0 --- roles/openshift_logging/tasks/start_cluster.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roles/openshift_logging/tasks') 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: -- cgit v1.2.3