Ensure lvm2 is installed prior to lvm commands

install the lvm2 rpm

Closes-Bug: #1824210
Change-Id: I817d3c938399a053d97a73d66a1e9bcc3ff3ef4d
This commit is contained in:
Wes Hayutin 2019-04-10 11:06:09 -06:00
parent 77837223e1
commit 34a932c9c6
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ outputs:
cinder_enable_iscsi_backend: {get_param: CinderEnableIscsiBackend}
- when: cinder_enable_iscsi_backend
block:
- name: ensure LVM rpm dependencies are installed
package:
name: lvm2
state: latest
- name: cinder create LVM volume group dd
command:
list_join: