diff --git a/README.md b/README.md index 9bf8985..3b4a67f 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ Main features: borg_encryption_passphrase: CHANGEME borg_repository: m5vz9gp4@m5vz9gp4.repo.borgbase.com:repo borgmatic_timer: systemd - backup_ssh_key_file: "{{ backup_user_info.home }}/.ssh/id_rsa" - backup_ssh_command: "ssh -i {{ backup_ssh_key_file }} -o StrictHostKeyChecking=no" + borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/id_rsa" + borg_ssh_command: "ssh -i {{ backup_ssh_key_file }} -o StrictHostKeyChecking=no" borgmatic_timer: systemd borgbackup_user: "srv_backup" borgbackup_group: "srv_backup" diff --git a/defaults/main.yml b/defaults/main.yml index beb03c1..628e62a 100755 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -5,7 +5,9 @@ borg_one_file_system: true borg_exclude_from: [] borg_encryption_passcommand: false borg_lock_wait_time: 5 -borg_ssh_command: false # If you use a useraccount and not root see at the bottom of this file +borg_ssh_command: false # If you use a useraccount and not root see the next lines +# borg_ssh_key_file: "{{ backup_user_info.home }}/.ssh/id_rsa" +# borg_ssh_command: "ssh -i {{ backup_ssh_key_file }} -o StrictHostKeyChecking=no" borg_remote_path: false borg_remote_rate_limit: 0 borg_retention_policy: @@ -44,9 +46,4 @@ borgmatic_version: false borg_venv_path: "/opt/borgmatic" borgbackup_user: "root" borgbackup_group: "root" - - -# backup_ssh_key_file: "{{ backup_user_info.home }}/.ssh/id_rsa" -# backup_ssh_command: "ssh -i {{ backup_ssh_key_file }} -o StrictHostKeyChecking=no" -# borg_ssh_command: "{{ backup_ssh_command }}" ...