]> 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>
Mon, 26 Jul 2021 15:49:03 +0000 (17:49 +0200)
commitc67bfe84eb94a3432dab76a0ca97a71d2a1b20b9
tree8ad0ddf1473ca9fb4c8dc9f20bf10b2447b69c22
parent5ef1d630d8aa777bdfa28b7321bc07bcd1ed53db
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