Use become for Cinder LVM precheck

Typically root privileges are required to access LVM.

Change-Id: Ia8cca7326526326486c4495e4ddfe126c7251448
This commit is contained in:
Mark Goddard 2019-01-18 12:18:51 +00:00
parent 1989cfe103
commit 280761394c
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@
- not enable_cinder_backend_quobyte | bool
- name: Checking LVM volume group exists for Cinder
become: true
command: "vgs {{ cinder_volume_group }}"
register: result
changed_when: false