From 3a2fdfb242840397e344c60444adbee02587f75f Mon Sep 17 00:00:00 2001 From: Luc Stroobant Date: Sun, 8 Oct 2017 21:05:25 +0200 Subject: [PATCH] fix rsync.net key options --- tasks/borg-client.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/borg-client.yml b/tasks/borg-client.yml index 6dc27ee..e525521 100644 --- a/tasks/borg-client.yml +++ b/tasks/borg-client.yml @@ -43,7 +43,7 @@ authorized_key: user: "{{ ansible_user_id }}" key: "{{ sshkey.stdout }}" - key_options: 'command="cd {{ item.home }}{{ item.pool }}/{{ inventory_hostname }};borg serve {% if borgbackup_appendonly %}--append-only {% endif %}--restrict-to-path {{ item.home }}/{{ item.pool }}/{{ inventory_hostname }}",no-port-forwarding,no-X11-forwarding,no-pty,no-agent-forwarding,no-user-rc' + key_options: 'command="cd {{ item.pool }}/{{ inventory_hostname }};/usr/local/bin/borg1 serve {% if borgbackup_appendonly %}--append-only {% endif %} --restrict-to-path {{ item.pool }}/{{ inventory_hostname }}",no-port-forwarding,no-X11-forwarding,no-pty,no-agent-forwarding,no-user-rc' path: "/tmp/rsync.net-{{ item.fqdn }}-authkeys" manage_dir: no delegate_to: localhost