remove the use of iteritems
iteritems is a py2 callable and will break when using py3. Change-Id: I1ff66bd998308c207c292ec0de196c48d758db96 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
bffc93aadb
commit
3202eb1b56
@ -19,7 +19,7 @@
|
||||
CLI_OPTIONS="{{ ((keystone_service_adminuri_insecure | bool) or (cinder_service_internaluri_insecure | bool)) | ternary('--insecure','') }}"
|
||||
{{ cinder_bin }}/cinder qos-list | grep {{ item.name }} || \
|
||||
{{ cinder_bin }}/cinder qos-create {{ item.name }}\
|
||||
{% for k,v in item.options.iteritems() %} {{ k }}={{ v }}{% endfor %}
|
||||
{% for k,v in item.options.items() %} {{ k }}={{ v }}{% endfor %}
|
||||
args:
|
||||
executable: /bin/bash
|
||||
with_items: "{{ cinder_qos_specs }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user