ソースを参照

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ヶ月前
コミット
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 [])
+ +


読み込み中…
キャンセル
保存