From 3e488e8298a0c8ec4ec98317a1d7f1efc4926257 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 9 Oct 2018 13:40:38 -0400 Subject: [PATCH] tests: install lvm2 before setting up ceph-volume/LVM tests Signed-off-by: Alfredo Deza --- tests/functional/lvm_setup.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/functional/lvm_setup.yml b/tests/functional/lvm_setup.yml index 280c2756d..f1f4801d6 100644 --- a/tests/functional/lvm_setup.yml +++ b/tests/functional/lvm_setup.yml @@ -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