mirror of https://github.com/ceph/ceph-ansible.git
tests: install lvm2 before setting up ceph-volume/LVM tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>pull/3206/merge
parent
ada03d064d
commit
3e488e8298
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue