From cce7d2d258292c283d64ce8da14a6d1e366b564d Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Sat, 27 Jun 2026 21:25:37 +0200 Subject: Add support for non-root backup clients --- defaults/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'defaults') diff --git a/defaults/main.yml b/defaults/main.yml index 337ca76..b3d901c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,23 @@ --- +################################################################################ +# Borg Client User Configuration +################################################################################ + +# User that runs all client-side operations (SSH key, borg init, backups). +# Defaults to root. Set to a non-root user for unprivileged backups. +# The user must exist before running the role. +borg_client_user: root + +# Home directory of the borg_client_user. +# If not set, the role auto-detects it from the passwd database. +# Override this only if you need a non-standard home directory location. +# --- +# borg_client_user_home: /home/backup + +# SSH key type for borg client authentication. +# Options: ed25519 (recommended), rsa, ecdsa +borg_ssh_key_type: rsa + ################################################################################ # Borg Server Host Configuration ################################################################################ -- cgit v1.2.3