ceph-ansible/roles/ceph-facts
Guillaume Abrioux cfc10a8142 facts: avoid duplicated element in devices list
When using `osd_auto_discovery`, `devices` is built multiple times due
to multiple runs of `ceph-facts` role. It end up with duplicate
instances of a same device in the list.

Using `unique` filter when building the list fixes this issue.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 23b1f43897)
2019-12-05 14:51:18 +01:00
..
defaults introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
meta introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
tasks facts: avoid duplicated element in devices list 2019-12-05 14:51:18 +01:00
README.md introduce new role ceph-facts 2018-12-12 11:18:01 +01:00

README.md

Ansible role: ceph-facts

Documentation is available at http://docs.ceph.com/ceph-ansible/.