From 4d16232fec3ce29b093e8dca6185f7315ce17bab Mon Sep 17 00:00:00 2001 From: owine Date: Tue, 6 Feb 2024 10:22:02 -0600 Subject: [PATCH] Tubearchivist: Fix SSO var length check --- roles/tubearchivist/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/tubearchivist/defaults/main.yml b/roles/tubearchivist/defaults/main.yml index 685724f905..ad8c882929 100644 --- a/roles/tubearchivist/defaults/main.yml +++ b/roles/tubearchivist/defaults/main.yml @@ -97,8 +97,8 @@ tubearchivist_docker_envs_default: TA_HOST: "localhost 127.0.0.1 {{ tubearchivist_name }} {{ tubearchivist_web_subdomain + '.' + tubearchivist_web_domain }} {{ tubearchivist_web_url }}" TA_ENABLE_AUTH_PROXY: "{{ 'true' if (tubearchivist_traefik_sso_middleware | length > 0) else omit }}" TA_AUTH_PROXY_USERNAME_HEADER: "{{ 'HTTP_REMOTE_USER' if (tubearchivist_traefik_sso_middleware | length > 0) else omit }}" - TA_USERNAME: "{{ user.name if (tubearchivist_traefik_sso_middleware | length = 0) else omit }}" - TA_PASSWORD: "{{ user.pass if (tubearchivist_traefik_sso_middleware | length = 0) else omit }}" + TA_USERNAME: "{{ user.name if (tubearchivist_traefik_sso_middleware | length == 0) else omit }}" + TA_PASSWORD: "{{ user.pass if (tubearchivist_traefik_sso_middleware | length == 0) else omit }}" ELASTIC_PASSWORD: "{{ elasticsearch_docker_env_password }}" ENABLE_CAST: "{{ tubearchivist_enable_cast }}" tubearchivist_docker_envs_custom: {}