WIP: backups with borg and borgmatic #39
1 changed files with 2 additions and 1 deletions
|
@ -43,9 +43,10 @@
|
|||
|
||||
- name: Add public key to remote
|
||||
delegate_to: "{{ borg_server_host }}"
|
||||
become: "{{ borg_server_user }}"
|
||||
become: true
|
||||
authorized_key:
|
||||
exclusive: false
|
||||
user: "{{ borg_server_user }}"
|
||||
key: "{{ ssh_key.public_key }}"
|
||||
key_options: >-
|
||||
command="borg serve --restrict-to-path {{ borg_host_dir }},
|
||||
|
|
Loading…
Reference in a new issue