]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
test: when creating the /dev/sdc2 partition specify label as gpt
authorAndrew Schoen <aschoen@redhat.com>
Mon, 30 Oct 2017 20:31:04 +0000 (15:31 -0500)
committerSébastien Han <seb@redhat.com>
Mon, 2 Jul 2018 07:45:04 +0000 (09:45 +0200)
ansible==2.4 requires that label be set to gpt, or it will be defaulted
to msdos.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 37a48209ccf702a817b445e8b6164e38b60ea708)

tests/functional/lvm_setup.yml

index 51f90da761d48335cea2787b9e84262bf019f53e..21669cc97b9580f92ae1608b7c8b2f3ba303c717 100644 (file)
@@ -43,8 +43,6 @@
         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
 
@@ -56,6 +54,7 @@
         part_end: 100%
         unit: '%'
         state: present
+        label: gpt
 
     - name: create journals vg from /dev/sdc2
       lvg: