]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: install lvm2 before setting up ceph-volume/LVM tests
authorAlfredo Deza <adeza@redhat.com>
Tue, 9 Oct 2018 17:40:38 +0000 (13:40 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 9 Oct 2018 17:48:50 +0000 (13:48 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
tests/functional/lvm_setup.yml

index 280c2756db53754a2704977ec2446995a7d77f99..f1f4801d63fdfee92dcbdcf0ab9e8ce0305ab8cd 100644 (file)
@@ -5,6 +5,12 @@
   become: yes
   tasks:
 
+    # Some images may not have lvm2 installed
+    - name: install lvm2
+      package:
+        name: lvm2
+        state: present
+
     - name: create physical volume
       command: pvcreate /dev/sdb
       failed_when: false