]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-validate: use root device from ansible_mounts
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 15 Dec 2020 20:04:57 +0000 (15:04 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 2 Jul 2021 20:21:32 +0000 (22:21 +0200)
commit71c0f2d6e11d6dc7d9e2c80ef1273f7f65405404
treea05d2ab9d292adc77e8b16e0736751352f84d508
parent5476d606a3147ad62d228207a4c344799a7a09b8
ceph-validate: use root device from ansible_mounts

Instead of using findmnt command to find the device associated to the
root mount point then we can use the ansible_mounts fact.

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