From 555e1794cd9b058df17cbdf659325af844eae7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Mon, 8 Aug 2022 01:04:41 +0200 Subject: [PATCH] Fix Hetzner SSH config and borg path --- 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 03a47db..ffd494e 100644 --- a/tasks/borg-client.yml +++ b/tasks/borg-client.yml @@ -67,7 +67,7 @@ authorized_key: user: "{{ ansible_user_id }}" key: "{{ sshkey.stdout }}" - 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' # noqa 204 (Line has to be this long for valid formatting) + key_options: 'command="borg-1.2 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' # noqa 204 (Line has to be this long for valid formatting) path: "/tmp/authkeys-{{ item.type }}-{{ item.fqdn }}-authkeys" manage_dir: false delegate_to: localhost