From 37a09672588dcff857ee8de712226a37a757ca1e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 4 Oct 2025 13:51:46 +0300 Subject: [PATCH] Fix templating of `matrix_authentication_service_config_http_listener_web_resources_default` when `not matrix_authentication_service_admin_api_enabled` Regression since db54063a0c9e4cde27b1e6c688113a888a6a0c28 Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4617 --- roles/custom/matrix-authentication-service/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-authentication-service/defaults/main.yml b/roles/custom/matrix-authentication-service/defaults/main.yml index 233dd5676..c86ba0cc9 100644 --- a/roles/custom/matrix-authentication-service/defaults/main.yml +++ b/roles/custom/matrix-authentication-service/defaults/main.yml @@ -327,7 +327,7 @@ matrix_authentication_service_config_http_listener_web_resources_default: |- {'name': 'assets'}, ] + - [{'name': 'adminapi'} if matrix_authentication_service_admin_api_enabled else []] + ([{'name': 'adminapi'}] if matrix_authentication_service_admin_api_enabled else []) }} matrix_authentication_service_config_http_listener_web_resources_auto: [] matrix_authentication_service_config_http_listener_web_resources_custom: []