mirror of https://github.com/ceph/ceph-ansible.git
4bd9bea4b5
Ansible evaluates the 'with_items' before the 'when' so if the inventory
does not have the group declared it'll fail. To fix this, we set an
empty array to make the with_items happy and then evaluate with the
'when'.
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
ceph-agent | ||
ceph-client | ||
ceph-common | ||
ceph-common-coreos | ||
ceph-docker-common | ||
ceph-fetch-keys | ||
ceph-iscsi-gw | ||
ceph-mds | ||
ceph-mgr | ||
ceph-mon | ||
ceph-nfs | ||
ceph-osd | ||
ceph-rbd-mirror | ||
ceph-restapi | ||
ceph-rgw | ||
ceph.ceph-common | ||
ceph.ceph-docker-common |