Parcourir la source

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>
pull/5063/head
Slavi Pantaleev il y a 5 mois
Parent
révision
8ae8b83139
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      group_vars/matrix_servers

+ 1
- 1
group_vars/matrix_servers Voir le fichier

@@ -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 [])
+


Chargement…
Annuler
Enregistrer