diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2017-11-27 12:32:48 +0100 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2017-11-27 13:11:45 +0100 |
commit | 37636c325aed612c06f86cbb042fc14bcbde218c (patch) | |
tree | 000e3bc81c52c3a87488b5e71bcb68fd13eb76d1 /roles/openshift_hosted/tasks | |
parent | 1ef463e727e202ba7595976f0478110b3b7585d0 (diff) | |
download | openshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.gz openshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.bz2 openshift-37636c325aed612c06f86cbb042fc14bcbde218c.tar.xz openshift-37636c325aed612c06f86cbb042fc14bcbde218c.zip |
dist.iteritems() no longer exists in Python 3.
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/storage/glusterfs.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted/tasks/storage/glusterfs.yml b/roles/openshift_hosted/tasks/storage/glusterfs.yml index 9b998142a..81241535b 100644 --- a/roles/openshift_hosted/tasks/storage/glusterfs.yml +++ b/roles/openshift_hosted/tasks/storage/glusterfs.yml @@ -12,7 +12,7 @@ namespace: "{{ openshift_hosted_registry_namespace }}" state: list kind: pod - selector: "{% for label, value in registry_dc.results.results[0].spec.selector.iteritems() %}{{ label }}={{ value }}{% if not loop.last %},{% endif %}{% endfor %}" + selector: "{% for label, value in registry_dc.results.results[0].spec.selector.items() %}{{ label }}={{ value }}{% if not loop.last %},{% endif %}{% endfor %}" register: registry_pods until: - "registry_pods.results.results[0]['items'] | count > 0" |