]> git-server-git.apps.pok.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, 5 Jul 2021 16:03:43 +0000 (18:03 +0200)
commit4f89cdcd457debac5fbcd4e4e8ed22f6fb20e771
treed43401d4900f224c98fac7240a187c6da4bb4cb4
parent3557497336338ab2227bcb7c2373047291b4bc73
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