From 8ae8b831392572500abdec379a8b6cea595e5385 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 22 Mar 2026 10:18:16 +0200 Subject: [PATCH] Wire backup_borg conditional restart variable into group_vars/matrix_servers Replace hardcoded restart_necessary: true with the computed backup_borg_restart_necessary variable that the role already exposes. Co-Authored-By: Claude Opus 4.6 (1M context) --- group_vars/matrix_servers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 33851a990..627863740 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -278,7 +278,7 @@ devture_systemd_service_manager_services_list_auto: | ([{ 'name': (backup_borg_identifier + '.timer'), 'priority': 5000, - 'restart_necessary': true, + 'restart_necessary': (backup_borg_restart_necessary | bool), 'groups': ['matrix', 'backup', 'borg'], }] if backup_borg_enabled else []) +