]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: followup on #2656
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 1 Jun 2018 09:32:00 +0000 (11:32 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 13 Jul 2018 07:55:14 +0000 (07:55 +0000)
34f70428 has introduced a fix using `command` module while this could
have been achieved by using `lvol` module.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
tests/functional/setup.yml

index 4f4af67922e9482828a19216d22fc4bfaafd859a..6b1845668958511512025fa559ca4331a458ada2 100644 (file)
@@ -62,9 +62,9 @@
         - not is_atomic
 
     - name: resize logical volume for root partition to fill remaining free space
-      command: lvresize -l +100%FREE /dev/atomicos/root
-      when: is_atomic
-
-    - name: increasing the size of the fs for root partition
-      command: xfs_growfs /
+      lvol:
+        lv: root
+        vg: atomicos
+        size: +100%FREE
+        resizefs: yes
       when: is_atomic