diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-06-27 21:25:37 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-06-27 21:25:37 +0200 |
| commit | cce7d2d258292c283d64ce8da14a6d1e366b564d (patch) | |
| tree | fe9de437636098066c6bf160d5787b6b35659835 /defaults | |
| parent | a22ff185f9836023817f9d4f8df3157b948f8cf2 (diff) | |
| download | ansible-role-borgbackup-cce7d2d258292c283d64ce8da14a6d1e366b564d.tar.gz ansible-role-borgbackup-cce7d2d258292c283d64ce8da14a6d1e366b564d.zip | |
Add support for non-root backup clients
Diffstat (limited to 'defaults')
| -rw-r--r-- | defaults/main.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 337ca76..b3d901c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,24 @@ --- ################################################################################ +# 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 ################################################################################ |