Просмотр исходного кода

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 1 день назад
Родитель
Сommit
8ae8b83139
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      group_vars/matrix_servers

+ 1
- 1
group_vars/matrix_servers Просмотреть файл

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


Загрузка…
Отмена
Сохранить