diff --git a/templates/redirect.map.jinja2 b/templates/redirect.map.jinja2
index c932c1816e7523113e7c048f22cd02aa1d2f25ac..b9eeef9240a404cb94b89653a3ea0b03cea7751c 100644
--- a/templates/redirect.map.jinja2
+++ b/templates/redirect.map.jinja2
@@ -1,3 +1,10 @@
 {% 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 %}