{% for domain in hostvars[item].proxy_ssl_domains|default([]) %} {{domain}} {% endfor %} {% 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 %}