]> 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>
Fri, 2 Jul 2021 20:21:20 +0000 (22:21 +0200)
commit727aa932929731f74243fda968779a9d5f21e1a2
tree0ad372db8a1f607bc0e7f82805550599c1797c92
parent65b8f46a432a9c5b70537dc7cb8565a1eb689cc7
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