tests: install lvm2 before setting up ceph-volume/LVM tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
pull/3206/merge
Alfredo Deza 2018-10-09 13:40:38 -04:00 committed by Guillaume Abrioux
parent ada03d064d
commit 3e488e8298
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,12 @@
become: yes become: yes
tasks: tasks:
# Some images may not have lvm2 installed
- name: install lvm2
package:
name: lvm2
state: present
- name: create physical volume - name: create physical volume
command: pvcreate /dev/sdb command: pvcreate /dev/sdb
failed_when: false failed_when: false