]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-validate: check block presence first
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 15 Dec 2020 20:00:28 +0000 (15:00 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 2 Jul 2021 20:21:32 +0000 (22:21 +0200)
commit11bb1ece2e687f649070f63f121b7a444cc8ead5
tree68f3c35f5381e67d2d4d047a4c081fc1fe50045f
parenta3b5b151604f355ba271874827127791ce734296
ceph-validate: check block presence first

Instead of doing two parted calls we can check first if the device exist
and then test the partition table.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 14d458b3b41ef5fe1ebdb8a70e52a65ff28b42f2)
roles/ceph-validate/tasks/check_devices.yml