diff --git a/roles/web-app-snipe-it/templates/env.j2 b/roles/web-app-snipe-it/templates/env.j2 index e988ca430b..a6655e8358 100644 --- a/roles/web-app-snipe-it/templates/env.j2 +++ b/roles/web-app-snipe-it/templates/env.j2 @@ -163,7 +163,7 @@ LOG_CHANNEL=stderr LOG_MAX_DAYS=10 APP_LOCKED=false APP_CIPHER=AES-256-CBC -APP_FORCE_TLS=true +APP_FORCE_TLS={{ TLS_ENABLED | string | lower }} GOOGLE_MAPS_API= LDAP_MEM_LIM=500M LDAP_TIME_LIM=600 \ No newline at end of file diff --git a/roles/web-app-snipe-it/vars/main.yml b/roles/web-app-snipe-it/vars/main.yml index 451ecb6fa7..ec18ec55b6 100644 --- a/roles/web-app-snipe-it/vars/main.yml +++ b/roles/web-app-snipe-it/vars/main.yml @@ -14,4 +14,4 @@ SNIPE_IT_USER: "www-data" # Authentification SNIPE_IT_OAUTH2_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.oauth2.enabled') }}" -SNIPE_IT_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.ldap.enabled') }}" \ No newline at end of file +SNIPE_IT_LDAP_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.ldap.enabled') }}"