mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-04-17 01:17:15 +02:00
Create bin links as root, no borg_ssh_command by default.
This commit is contained in:
parent
2ceac5aafb
commit
14d6a66c6e
@ -9,7 +9,7 @@
|
||||
borg_encryption_passphrase: CHANGEME
|
||||
borg_repository: ssh://m5vz9gp4@m5vz9gp4.repo.borgbase.com/./repo
|
||||
borgmatic_timer: systemd
|
||||
borg_ssh_key_file_path: "{{ backup_user_info.home }}/.ssh/backup"
|
||||
borg_ssh_key_name: id_backup
|
||||
borg_ssh_command: "ssh -i {{ borg_ssh_key_file_path }} -o StrictHostKeyChecking=accept-new"
|
||||
borg_user: backupuser
|
||||
borg_group: backupuser
|
||||
@ -41,7 +41,7 @@ remote backup server. (not tested)
|
||||
borg_repository: "USER@TARGET_SERVER:/PATH/TO/BACKUP"
|
||||
borg_user: "srv_backup"
|
||||
borg_group: "srv_backup"
|
||||
borg_ssh_key_file_path: "{{ backup_user_info.home }}/.ssh/backup"
|
||||
borg_ssh_key_name: id_backup
|
||||
borg_ssh_command: "ssh -i {{ borg_ssh_key_file_path }} -o StrictHostKeyChecking=accept-new"
|
||||
borgmatic_timer: systemd
|
||||
borg_source_directories:
|
||||
|
@ -8,7 +8,7 @@ borg_lock_wait_time: 5
|
||||
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_command: "ssh -i {{ borg_ssh_key_file_path }}"
|
||||
borg_ssh_command: false
|
||||
borg_remote_path: false
|
||||
borg_remote_rate_limit: 0
|
||||
borg_retention_policy:
|
||||
|
@ -39,8 +39,6 @@
|
||||
borgmatic "$@"
|
||||
dest: /usr/local/bin/borgmatic
|
||||
mode: "0755"
|
||||
owner: "{{ borg_user }}"
|
||||
group: "{{ borg_group }}"
|
||||
|
||||
- name: Create borg command in /usr/local/bin
|
||||
ansible.builtin.copy:
|
||||
@ -50,8 +48,4 @@
|
||||
borg "$@"
|
||||
dest: /usr/local/bin/borg
|
||||
mode: "0755"
|
||||
owner: "{{ borg_user }}"
|
||||
group: "{{ borg_group }}"
|
||||
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user