]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: fix check_devices v3.2.58
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Mar 2022 13:56:30 +0000 (15:56 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 29 Mar 2022 14:16:26 +0000 (16:16 +0200)
commitff4c31be85edb3450a38d6ccb2f6dd1f1a70ad24
tree6940366c1de8da6d32bd5ef8eb6134a3f659f18f
parent540aa1455bc919c63ee6a875cc091f3beef9bdb9
validate: fix check_devices

This fixes a regression introduced in 3.2.57 and the check_devices step.

When lvm_volumes is defined with data and data_vg (vg/lv format) it goes
to the second part of the condition which throws an undefined error given
that `devices` isn't defined.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2069491
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-validate/tasks/check_devices.yml