remove the use of iteritems

iteritems is a py2 callable and will break when using py3.

Change-Id: I2afbcf273d23a326b81e51620929a512ed17fc22
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2017-08-02 15:06:50 -05:00
parent 1a5e775d8e
commit 0e6bcf2a1b
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }}
[Service]
{% for key, value in lxc_cache_environment.iteritems() %}
{% for key, value in lxc_cache_environment.items() %}
Environment={{ key }}={{ value }}
{% endfor %}