]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Exclude dm devices from list of physical volumes 396/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 24 Apr 2018 19:28:42 +0000 (15:28 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 24 Apr 2018 19:34:17 +0000 (15:34 -0400)
commitb963024822e184bc2df1ae7e0bb22898cb46fccf
treedb6e4bca038deb5d33004c6168128705b6cc8889
parentcb16f35b81941c48be8fe46ef4f6df6eca6b1aa5
testnode: Exclude dm devices from list of physical volumes

This was actually happening because when the playbook first runs, the
setup module is run and sees the device mapper devices.  We zap them
later in the playbook but ansible doesn't know that.  We could just
re-run the setup module but this method will instead guarantee we don't
use dm-* devices.

Fixes: https://tracker.ceph.com/issues/23845
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/configure_lvm.yml