]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
facts: fix auto_discovery exclude
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 25 Feb 2019 23:07:01 +0000 (00:07 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 9 Dec 2019 08:32:55 +0000 (09:32 +0100)
commit4f6925890c2071acf99aed1f7699f8eb3edf00b0
treebc9e4447efd6f3a26358e470577f4321f2829aed
parentf6fea33b4004cca493ca8b336bf76d6e5765cc42
facts: fix auto_discovery exclude

the previous approach was wrong.
checking if `item.key` is in `osd_auto_discovery_exclude` (`['dm-',
'loop']`) is incorrect because it will obviously not match. Therefore,
the condition will return `True` whatever the device we are checking.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8f420072727441fd6e6a22a15cc9034a3a678cae)
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml
roles/ceph-facts/tasks/facts.yml