ceph-facts: fix ansible templating error for auto osd discovery
ceph-facts: fix ansible templating error for auto osd discovery

This commit fixes templating error that occurs when using auto osd discovery. Getting the len before converting the result to a list causes "object of type generator has no len()" error.

Signed-off-by: pinotelio <2b0a78986f0dcebbd552875f32cf3c59f6db3423@gmail.com>

ceph/ceph-ansible,ceph/ceph-ansible