Skip to content
Snippets Groups Projects
Commit 4ec199d5 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/gentner#2268 Implement support for locally per host defined proxy_redirect_maps

parent a3b3d6a8
No related branches found
No related tags found
No related merge requests found
{% for key in proxy_redirect_maps[item]|default([]) %}
{{ key }} {{ proxy_redirect_maps[item][key] }}
{% endfor %}
{% for host in groups.all %}
{% if hostvars[host].ansible_local is defined and hostvars[host].ansible_local.proxy_redirect_maps is defined %}
{% for key in hostvars[host].ansible_local.proxy_redirect_maps[item]|default([]) %}
{{ key }} {{ hostvars[host].ansible_local.proxy_redirect_maps[item][key] }}
{% endfor %}
{% endif %}
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment