From 38904c08b05148ca2fb3d0d3911058835c1868df Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 13 Feb 2023 11:01:54 +0200 Subject: [PATCH] Wire backup_borg_username It's probably unnecessary, as this user is only used in the borg container internally, but.. It doesn't hurt to set it to `matrix`. --- group_vars/matrix_servers | 1 + .../custom/matrix_playbook_migration/tasks/validate_config.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index fbae0304..734364db 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -1882,6 +1882,7 @@ backup_borg_enabled: false backup_borg_identifier: matrix-backup-borg +backup_borg_username: "{{ matrix_user_username }}" backup_borg_uid: "{{ matrix_user_uid }}" backup_borg_gid: "{{ matrix_user_gid }}" diff --git a/roles/custom/matrix_playbook_migration/tasks/validate_config.yml b/roles/custom/matrix_playbook_migration/tasks/validate_config.yml index 4f3d7931..f588ed08 100644 --- a/roles/custom/matrix_playbook_migration/tasks/validate_config.yml +++ b/roles/custom/matrix_playbook_migration/tasks/validate_config.yml @@ -95,5 +95,3 @@ Please change your configuration (vars.yml) to rename all variables (`matrix_backup_borg_` -> `backup_borg_`). We found usage of the following variables: {{ matrix_playbook_migration_backup_borg_migration_vars.keys() | join(', ') }} when: "matrix_playbook_migration_backup_borg_migration_vars | length > 0" - -