Address Ansible bare variable usage
When executing this playbook with Ansible 2.1, the following deprecation warning is issued in the output. [DEPRECATION WARNING]: Using bare variables is deprecated. This patch wraps those variables as Ansible 2.1 requires. Change-Id: Id328150b47acaa93393fa30826364f100099998f
This commit is contained in:
parent
30dacdf8af
commit
ae8bc708e7
@ -67,7 +67,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
echo "{{ item.key }} volume_group not defined"
|
echo "{{ item.key }} volume_group not defined"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
with_dict: cinder_backends|default({})
|
with_dict: "{{ cinder_backends | default({}) }}"
|
||||||
when:
|
when:
|
||||||
- physical_host != container_name
|
- physical_host != container_name
|
||||||
- cinder_backend_lvm_inuse | bool
|
- cinder_backend_lvm_inuse | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user