openstack-ansible-openstack.../templates/environment.j2
Jimmy McCrory 0739cb2922 Improve Python 3 compatibility
Use dict.items() instead of dict.iteritems() for improved Python 3
compatibility.

Change-Id: I14113c6454931a37d38c957d3715c6e5215f8a07
2017-06-23 14:11:29 -07:00

9 lines
253 B
Django/Jinja

PATH="{{ openstack_host_environment_path | join(':') }}"
{% if global_environment_variables is defined %}
{% for key, value in global_environment_variables.items() %}
{% if value %}
{{ key }}={{ value }}
{% endif %}
{% endfor %}
{% endif %}