mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-03-25 22:17:25 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
@@ -278,7 +278,7 @@ devture_systemd_service_manager_services_list_auto: |
|
|||||||
([{
|
([{
|
||||||
'name': (backup_borg_identifier + '.timer'),
|
'name': (backup_borg_identifier + '.timer'),
|
||||||
'priority': 5000,
|
'priority': 5000,
|
||||||
'restart_necessary': true,
|
'restart_necessary': (backup_borg_restart_necessary | bool),
|
||||||
'groups': ['matrix', 'backup', 'borg'],
|
'groups': ['matrix', 'backup', 'borg'],
|
||||||
}] if backup_borg_enabled else [])
|
}] if backup_borg_enabled else [])
|
||||||
+
|
+
|
||||||
|
|||||||
Reference in New Issue
Block a user