Enable configuration of borg user

This commit is contained in:
phil 2023-04-09 10:05:37 +02:00
parent dfbcbf3229
commit 202d6c3ef9
4 changed files with 23 additions and 9 deletions

View file

@ -4,9 +4,9 @@ borg_exclude_patterns: []
borg_one_file_system: true
borg_exclude_from: []
borg_encryption_passcommand: false
borg_key_export_path: "/root/borg_keys"
borg_key_export_path: "{{ borg_user }}/borg_keys"
borg_lock_wait_time: 5
borg_ssh_key_file_path: "/root/.ssh/{{ borg_ssh_key_name }}"
borg_ssh_key_file_path: "{{ borg_user }}/.ssh/{{ borg_ssh_key_name }}"
borg_ssh_key_name: borgbackup
borg_ssh_key_type: "ed25519"
borg_ssh_command: false
@ -18,6 +18,9 @@ borg_retention_policy:
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
borg_user: root
borg_group: root
borg_user_ssh_config_path: "{{ borg_user }}/.ssh/config"
borgmatic_timer_cron_name: "borgmatic"
borgmatic_timer_hour: "{{ range(0, 5) | random(seed=inventory_hostname) }}"
@ -42,5 +45,3 @@ borgmatic_check_last: 3
borgmatic_store_atime: true
borgmatic_store_ctime: true
borgmatic_relocated_repo_access_is_ok: false
ssh_config_path: /root/.ssh/config