]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: fail if gpt header found on unprepared devices
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Jul 2019 13:55:12 +0000 (15:55 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Jul 2019 05:43:55 +0000 (07:43 +0200)
commit487d7016850524af64254aa3a9ec61222ec926a4
tree28430205c890776c67d1c50da4dd24d8325aace8
parent5383c2f7f357ce6c8adb88422d757874d2f53c05
validate: fail if gpt header found on unprepared devices

ceph-volume will complain if gpt headers are found on devices.
This commit checks whether a gpt header is present on devices passed in
`devices` variable and fail early.

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