From: Alfredo Deza Date: Thu, 31 Aug 2017 13:33:23 +0000 (-0400) Subject: tests parted should create gpt labels on new disk X-Git-Tag: v3.0.0rc5~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1efea767fe46e5bb8230b9983f41c39ca9c936e1;p=ceph-ansible.git tests parted should create gpt labels on new disk But only for the first partition, so that a new label doesn't blow away the previous partition created Signed-off-by: Alfredo Deza --- diff --git a/tests/functional/lvm_setup.yml b/tests/functional/lvm_setup.yml index 53dcf364e..9b4c71ecc 100644 --- a/tests/functional/lvm_setup.yml +++ b/tests/functional/lvm_setup.yml @@ -4,7 +4,7 @@ gather_facts: false become: yes tasks: - + - name: create physical volume command: pvcreate /dev/sdb failed_when: false @@ -28,6 +28,9 @@ part_start: 0% part_end: 50% unit: '%' + # this is a brand-new, unlabeled disk, so add the label + # only for the first partition + label: gpt state: present - name: partition /dev/sdc for journals