Fix bare reference of cinder_enable_iscsi_backend

Ansible is throwing a deprecation warning for this so we need to add a
|bool to the usage of cinder_enable_iscsi_backend

Change-Id: If536dbc8ace915d171a23e289da2777e74dc3b27
Related-Bug: #1832402
This commit is contained in:
Alex Schultz 2019-06-14 10:29:15 -06:00
parent dbfdaf4465
commit ed5c2ad70a

View File

@ -88,7 +88,7 @@ outputs:
- name: cinder_enable_iscsi_backend fact
set_fact:
cinder_enable_iscsi_backend: {get_param: CinderEnableIscsiBackend}
- when: cinder_enable_iscsi_backend
- when: cinder_enable_iscsi_backend|bool
block:
- name: ensure LVM rpm dependencies are installed
package: