From 74cc760d008f5f0f3ce11420d84296089d0d3930 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 22 Mar 2026 10:12:27 +0200 Subject: [PATCH] Wire jitsi conditional restart variables into group_vars/matrix_servers Replace hardcoded restart_necessary: true with the computed variables (jitsi_web_restart_necessary, jitsi_prosody_restart_necessary, jitsi_jicofo_restart_necessary, jitsi_jvb_restart_necessary) that the jitsi role already exposes. Co-Authored-By: Claude Opus 4.6 (1M context) --- group_vars/matrix_servers | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 13d274218..33851a990 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -689,28 +689,28 @@ devture_systemd_service_manager_services_list_auto: | ([{ 'name': (jitsi_identifier + '-web.service'), 'priority': 4200, - 'restart_necessary': true, + 'restart_necessary': (jitsi_web_restart_necessary | bool), 'groups': ['matrix', 'jitsi', 'jitsi-web'], }] if jitsi_enabled else []) + ([{ 'name': (jitsi_identifier + '-prosody.service'), 'priority': 4000, - 'restart_necessary': true, + 'restart_necessary': (jitsi_prosody_restart_necessary | bool), 'groups': ['matrix', 'jitsi', 'jitsi-prosody'], }] if jitsi_enabled else []) + ([{ 'name': (jitsi_identifier + '-jicofo.service'), 'priority': 4100, - 'restart_necessary': true, + 'restart_necessary': (jitsi_jicofo_restart_necessary | bool), 'groups': ['matrix', 'jitsi', 'jitsi-jicofo'], }] if jitsi_enabled else []) + ([{ 'name': (jitsi_identifier + '-jvb.service'), 'priority': 4100, - 'restart_necessary': true, + 'restart_necessary': (jitsi_jvb_restart_necessary | bool), 'groups': ['matrix', 'jitsi', 'jitsi-jvb'], }] if jitsi_enabled else []) +