From 781400558f7fe36e525fbeecff13cd2d3aaaf6b5 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Fri, 27 Dec 2024 11:32:34 +0100 Subject: [PATCH] fix ansible syntax error --- roles/redmine/templates/etc/nginx/sites-available/redmine.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/redmine/templates/etc/nginx/sites-available/redmine.j2 b/roles/redmine/templates/etc/nginx/sites-available/redmine.j2 index 9cc939b..0630538 100644 --- a/roles/redmine/templates/etc/nginx/sites-available/redmine.j2 +++ b/roles/redmine/templates/etc/nginx/sites-available/redmine.j2 @@ -129,7 +129,7 @@ server { {% include 'templates/nginx_error_handler.inc.j2' with context %} -{% if not access_protection && instance.with_pghero is defined and instance.with_pghero %} +{% if not access_protection and instance.with_pghero is defined and instance.with_pghero %} location /pghero { # access protection auth_basic "Restricted access only"; @@ -137,7 +137,7 @@ server { } {% endif %} -{% if access_protection && instance.vhost_users is defined %} +{% if access_protection and instance.vhost_users is defined %} # access protection auth_basic "Restricted access only"; auth_basic_user_file {{ htpasswd_file }};