From 8fbe99ac2a1939c9018209c27e39632d10bd7c69 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 15 May 2023 07:37:25 +0300 Subject: [PATCH] Do not add main/master Synapse process to instance_map if workers are not in use This is meant to keep the configuration tidy for non-worker setups. Related to 49cb8b7b11a72bb44c --- roles/custom/matrix-synapse/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-synapse/defaults/main.yml b/roles/custom/matrix-synapse/defaults/main.yml index 5a5e9978d..f159e01b8 100644 --- a/roles/custom/matrix-synapse/defaults/main.yml +++ b/roles/custom/matrix-synapse/defaults/main.yml @@ -721,7 +721,7 @@ matrix_synapse_instance_map: | 'host': 'matrix-synapse', 'port': matrix_synapse_replication_http_port, }, - } + } if matrix_synapse_workers_enabled else {} }} # Redis information