aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-06-27 21:25:37 +0200
committerColin Wilk <colin@wilk.cx>2026-06-27 21:25:37 +0200
commitcce7d2d258292c283d64ce8da14a6d1e366b564d (patch)
treefe9de437636098066c6bf160d5787b6b35659835 /README.md
parenta22ff185f9836023817f9d4f8df3157b948f8cf2 (diff)
downloadansible-role-borgbackup-cce7d2d258292c283d64ce8da14a6d1e366b564d.tar.gz
ansible-role-borgbackup-cce7d2d258292c283d64ce8da14a6d1e366b564d.zip
Add support for non-root backup clients
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5281a01..4235294 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,23 @@ ansible-galaxy role install git+https://github.com/kliwniloc/ansible-role-borgba
## Role Variables
-For more details, see: [`defaults/main.yml`](defaults/main.yml)
+Some configuration options were left out of this high level overview. For the
+full set of configuration options, see: [`defaults/main.yml`](defaults/main.yml)
+
+### Backup User Configuration
+
+By default, the role runs all client-side operations as `root`. To use a
+non-root user, set `borg_client_user`:
+
+```yaml
+borg_client_user: backup
+```
+
+The user must exist before running the role; it will not be created
+automatically. Ensure the user can read all directories specified in
+`borg_included_dirs`, or backups will fail at runtime.
+
+### Server Configuration
You need to specify your Borg hostname (as defined in your Ansible inventory)
as well as the public SSH key from that Borg SSH server.