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
|
- name: Add public key to remote
|
||||||
delegate_to: "{{ borg_server_host }}"
|
delegate_to: "{{ borg_server_host }}"
|
||||||
become: "{{ borg_server_user }}"
|
become: true
|
||||||
authorized_key:
|
authorized_key:
|
||||||
exclusive: false
|
exclusive: false
|
||||||
|
user: "{{ borg_server_user }}"
|
||||||
key: "{{ ssh_key.public_key }}"
|
key: "{{ ssh_key.public_key }}"
|
||||||
key_options: >-
|
key_options: >-
|
||||||
command="borg serve --restrict-to-path {{ borg_host_dir }},
|
command="borg serve --restrict-to-path {{ borg_host_dir }},
|
||||||
|
|
Loading…
Reference in a new issue