Merge "Cinder use correct glance API when RBD enabled"
This commit is contained in:
commit
2e4b1ea990
@ -152,7 +152,7 @@ cinder_backend_rbd_inuse: '{{ (cinder_backends|default("")|to_json).find("cinder
|
||||
# cinder_backends_rbd_inuse: true if at least 1 cinder_backend on any
|
||||
# cinder_volume host uses Ceph RBD
|
||||
# http://stackoverflow.com/questions/9486393/jinja2-change-the-value-of-a-variable-inside-a-loop
|
||||
cinder_backends_rbd_inuse: >
|
||||
cinder_backends_rbd_inuse: >-
|
||||
{% set _var = {'rbd_inuse': False} %}{%
|
||||
for host in groups.cinder_volume %}{%
|
||||
if hostvars[host].cinder_backend_rbd_inuse | bool %}{%
|
||||
|
Loading…
x
Reference in New Issue
Block a user