mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-06-12 01:15:27 +02:00
add borg_ssh_key_name, renamed borg_ssh_key_file to borg_ssh_key_file_path
This commit is contained in:
parent
d0682b2f4e
commit
273d06d18e
@ -5,10 +5,12 @@ 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_lock_wait_time: 5
|
||||||
borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/backup"
|
|
||||||
borg_ssh_command: "ssh -i {{ borg_ssh_key_file }}"
|
|
||||||
# borg_ssh_command: "ssh -i {{ borg_ssh_key_file }} -o StrictHostKeyChecking=no"
|
|
||||||
borg_ssh_key_type: "ed25519"
|
borg_ssh_key_type: "ed25519"
|
||||||
|
borg_ssh_key_name: "id_{{ borg_ssh_key_type }}"
|
||||||
|
borg_ssh_key_file_path: "{{ backup_user_info.home }}/.ssh/{{ borg_ssh_key_name }}"
|
||||||
|
# borg_ssh_key_file_path: "{{ backup_user_info.home }}/.ssh/backup" # static key
|
||||||
|
borg_ssh_command: "ssh -i {{ borg_ssh_key_file_path }}"
|
||||||
|
# borg_ssh_command: "ssh -i {{ borg_ssh_key_file_path }} -o StrictHostKeyChecking=no"
|
||||||
borg_remote_path: false
|
borg_remote_path: false
|
||||||
borg_remote_rate_limit: 0
|
borg_remote_rate_limit: 0
|
||||||
borg_retention_policy:
|
borg_retention_policy:
|
||||||
|
@ -101,7 +101,7 @@ argument_specs:
|
|||||||
type: int
|
type: int
|
||||||
required: false
|
required: false
|
||||||
description: Remote network upload rate limit in kiBytes/second.
|
description: Remote network upload rate limit in kiBytes/second.
|
||||||
borg_ssh_key_file:
|
borg_ssh_key_file_path:
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
description: Path to ssh-key
|
description: Path to ssh-key
|
||||||
@ -176,3 +176,7 @@ argument_specs:
|
|||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
description: The algorithm used to generate the SSH private key
|
description: The algorithm used to generate the SSH private key
|
||||||
|
borg_ssh_key_name:
|
||||||
|
type: str
|
||||||
|
required: false
|
||||||
|
description: Name of the SSH public and private key
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
hostname: database1.example.org
|
hostname: database1.example.org
|
||||||
port: 5433
|
port: 5433
|
||||||
borg_install_method: pip
|
borg_install_method: pip
|
||||||
borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/backup"
|
borg_ssh_key_file_path: "{{ backup_user_info.home }}/.ssh/backup"
|
||||||
borg_ssh_command: "ssh -i {{ borg_ssh_key_file }} -o StrictHostKeyChecking=no"
|
borg_ssh_command: "ssh -i {{ borg_ssh_key_file_path }} -o StrictHostKeyChecking=no"
|
||||||
borgmatic_timer: cron
|
borgmatic_timer: cron
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
|
Loading…
Reference in New Issue
Block a user