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