Commit c9682833 authored by Eric Zillmann's avatar Eric Zillmann
Browse files

ansible-inventories/gentner#2331 use the same type of variables as the other ones

parent e4a10ee9
......@@ -132,7 +132,7 @@
</Directory>
{% if drupal_domain.apache_auth is defined and drupal_domain.apache_auth.domain_users is defined and drupal_domain.apache_auth.active|default('true') == 'true' %}
{% for domain in drupal_domain.apache_auth.domain_users %}
<If "req('Host') == '{{ domain.domain }}'">
<If "%{HTTP_HOST} == '{{ domain.domain }}'">
AuthType {{ drupal_domain.apache_auth.type }}
AuthName "{{ drupal_domain.apache_auth.name }}"
AuthUserFile {{ webRoot }}/passwords/{{ drupal_domain.apache_auth.user|default(drupal.id) }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment