openstack-ansible-lxc_conta.../templates/environment.j2
Kevin Carter 44aa6784a7 remove the use of iteritems
iteritems is a py2 callable and will break when using py3.

Change-Id: I1448f8d0909cefb54ea23460a91029100f5a76ff
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-02 15:08:52 -05:00

8 lines
196 B
Django/Jinja

{% if global_environment_variables is defined %}
{% for key, value in global_environment_variables.items() %}
{% if value %}
{{ key }}={{ value }}
{% endif %}
{% endfor %}
{% endif %}