diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-04-26 11:52:55 -0500 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-04-26 11:52:55 -0500 |
commit | 275e302be228bfd5587a3b2eb90362f65b9c48ff (patch) | |
tree | 53fffddd78496f4d511be6cb7a31d48adf631a31 /roles/openshift_logging/tasks | |
parent | ff78e5c0f439132a5872305563df04979ddf65b0 (diff) | |
download | openshift-275e302be228bfd5587a3b2eb90362f65b9c48ff.tar.gz openshift-275e302be228bfd5587a3b2eb90362f65b9c48ff.tar.bz2 openshift-275e302be228bfd5587a3b2eb90362f65b9c48ff.tar.xz openshift-275e302be228bfd5587a3b2eb90362f65b9c48ff.zip |
Adding checks for starting mux for 2.2.0
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r-- | roles/openshift_logging/tasks/start_cluster.yaml | 5 |
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: |