Update: made the lock_wait optional argument configurable (#24)

This commit is contained in:
madhermit 2020-02-17 04:41:12 -08:00 committed by GitHub
parent 65d2953262
commit 2d8d666633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ An Ansible Role that sets up automated remote backups on the target machine. Use
- `borg_exclude_patterns`: Paths or patterns to exclude from backup. See [official documentation](https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-help-patterns) for more. - `borg_exclude_patterns`: Paths or patterns to exclude from backup. See [official documentation](https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-help-patterns) for more.
- `borg_one_file_system`: Don't cross file-system boundaries. Defaults to `true` - `borg_one_file_system`: Don't cross file-system boundaries. Defaults to `true`
- `borg_exclude_from`: Read exclude patterns from one or more separate named files, one pattern per line. - `borg_exclude_from`: Read exclude patterns from one or more separate named files, one pattern per line.
- `borg_lock_wait_time`: Config maximum seconds to wait for acquiring a repository/cache lock. Defaults to 5 seconds.
- `borg_ssh_command`: Command to use instead of just "ssh". This can be used to specify ssh options. - `borg_ssh_command`: Command to use instead of just "ssh". This can be used to specify ssh options.
- `borg_remote_path`: Path to the borg executable on the remote. It will default to `borg`. - `borg_remote_path`: Path to the borg executable on the remote. It will default to `borg`.
- `borg_encryption_passcommand`: The standard output of this command is used to unlock the encryption key. - `borg_encryption_passcommand`: The standard output of this command is used to unlock the encryption key.

View File

@ -9,6 +9,7 @@ borgmatic_after_backup_command: []
borg_one_file_system: true borg_one_file_system: true
borg_exclude_from: [] borg_exclude_from: []
borg_encryption_passcommand: false borg_encryption_passcommand: false
borg_lock_wait_time: 5
borg_ssh_command: false borg_ssh_command: false
borg_remote_path: false borg_remote_path: false
borg_retention_policy: borg_retention_policy:

View File

@ -70,7 +70,7 @@ storage:
umask: 0077 umask: 0077
# Maximum seconds to wait for acquiring a repository/cache lock. # Maximum seconds to wait for acquiring a repository/cache lock.
lock_wait: 5 lock_wait: {{ borg_lock_wait_time }}
# Name of the archive. Borg placeholders can be used. See the output of # Name of the archive. Borg placeholders can be used. See the output of
# "borg help placeholders" for details. Default is # "borg help placeholders" for details. Default is