From abd0823554bc652fb2900d8b37a36512d26f3487 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 14 Dec 2023 09:09:10 +0200 Subject: [PATCH] Add some parenthesis in if statement --- roles/custom/matrix-media-repo/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-media-repo/defaults/main.yml b/roles/custom/matrix-media-repo/defaults/main.yml index c36336e58..8aada0896 100644 --- a/roles/custom/matrix-media-repo/defaults/main.yml +++ b/roles/custom/matrix-media-repo/defaults/main.yml @@ -166,7 +166,7 @@ matrix_media_repo_homeservers_auto: # during certain operations, like attempting to purge media from a room or validating server # admin status. This should be set to one of "synapse", "dendrite", or "matrix". When set # to "matrix", most functionality requiring the admin API will not work. - adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else 'dendrite' if matrix_homeserver_implementation == 'dendrite' else 'matrix' }}" + adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else ('dendrite' if matrix_homeserver_implementation == 'dendrite' else 'matrix') }}" # Additional servers to be managed by MMR matrix_media_repo_homeservers_additional: []