Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ansible/roles/haproxy
  • ericzillmann/haproxy
2 results
Show changes
......@@ -4,10 +4,15 @@
{% for drupal in hostvars[item].drupal_settings|default([]) %}
{% for domain in drupal.domains|default([]) %}
{% if domain.protocol|default('https') == 'http' %}
{% if domain.route_by_domain|default(true) %}
{{domain.domain}}
{% for alias in domain.aliases|default([]) %}
{{alias}}
{% endfor %}
{% endif %}
{% for trusted_domain in domain.trusted_domains|default([]) %}
{{trusted_domain}}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
......@@ -4,10 +4,15 @@
{% for drupal in hostvars[item].drupal_settings|default([]) %}
{% for domain in drupal.domains|default([]) %}
{% if domain.protocol|default('https') == 'https' %}
{% if domain.route_by_domain|default(true) %}
{{domain.domain}}
{% for alias in domain.aliases|default([]) %}
{{alias}}
{% endfor %}
{% endif %}
{% for trusted_domain in domain.trusted_domains|default([]) %}
{{trusted_domain}}
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
......@@ -6,6 +6,11 @@
{% for domain in drupal.domains|default([]) %}
{% if domain.ignore_varnish|default(false) %}
{{domain.domain}}
{% if domain.multidomain|default(false) %}
{% for alias in domain.aliases|default([]) %}
{{alias}}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
......
{% for domain in proxy_maintenance_domains|default([]) %}
{{domain}}
{% endfor %}
{% for domain in haproxy_private.domain %}
{{ domain }}
{% endfor %}
{% for ip in haproxy_private.ip %}
{{ ip }}
{% endfor %}
{% for key in (proxy_redirect_maps[item]|default([]))|sort %}
{{ key }} {{ proxy_redirect_maps[item][key] }}
{% endfor %}
{% for host in groups.all|sort %}
{% 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([]))|sort %}
{{ key }} {{ hostvars[host].ansible_local.proxy_redirect_maps[item][key] }}
{% endfor %}
{% endif %}
{% endfor %}