]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-docker-common: fix empty array 1825/head
authorSébastien Han <seb@redhat.com>
Mon, 28 Aug 2017 22:16:31 +0000 (00:16 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 29 Aug 2017 08:25:46 +0000 (10:25 +0200)
commitcfddd2903cb40c1bab606af7fc7b3a739b42049b
tree11cbefd4e33856fb6430603a45e130d0cb0f55fb
parent3c294131ae614f319edb84c83539755c9e48a6f3
ceph-docker-common: fix empty array

The list can not be evaluated properly if it containers '[]', which is
the case when using the filter "default([])". To fix this, we have to
properly merge the lists.

This is fixing the issue: "list object has no element 1"

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-docker-common/tasks/fetch_configs.yml