]> git.apps.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:20 +0000 (22:21 +0200)
commitf8ecb08ec263cb6fc1cef06eec31fbf942b0ef2c
tree76e44a7b92081145a3299565f57364701450108f
parent23ddab7f5393aa8f77a62505646600f46603aa8a
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