Skip to content
Snippets Groups Projects
Commit 5d631280 authored by jurgenhaas's avatar jurgenhaas
Browse files

customer/bitegra/mobimo/drupal#113 Change condition to string comparison instead of boolean

parent 65d3c9e4
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,6 @@
notify: "Apache | Restart Apache"
- include_tasks: apache_auth.yml
when: drupal_domain.apache_auth is defined and drupal_domain.apache_auth.active|default(true)
when: drupal_domain.apache_auth is defined and drupal_domain.apache_auth.active|default('true') == 'true'
tags: 'ApacheConfig'
......@@ -66,7 +66,7 @@
<Directory {{ docRoot }}/>
Options +ExecCGI +Indexes +FollowSymLinks +MultiViews
AllowOverride All
{% if drupal_domain.apache_auth is defined and drupal_domain.apache_auth.active|default(true) %}
{% if drupal_domain.apache_auth is defined and drupal_domain.apache_auth.active|default('true') == 'true' %}
AuthType {{ drupal_domain.apache_auth.type }}
AuthName "{{ drupal_domain.apache_auth.name }}"
AuthUserFile {{ webRoot }}/passwords/{{ drupal_domain.apache_auth.user }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment