From 6cafb1ca42507ea81c006457a2cd0e366c8e5ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Mon, 27 Dec 2021 15:40:33 +0100 Subject: [PATCH] Those are fine --- tasks/main.yml | 2 +- tasks/onserver.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 55b58f1..49af964 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -42,7 +42,7 @@ BORG_PASSPHRASE: "{{ borgbackup_key }}" when: not repo.stat.exists -- name: Install borgmatic +- name: Install borgmatic # noqa package-latest pip: name: borgmatic state: latest diff --git a/tasks/onserver.yml b/tasks/onserver.yml index c1f228b..9343f1d 100644 --- a/tasks/onserver.yml +++ b/tasks/onserver.yml @@ -45,4 +45,5 @@ authorized_key: user: "borgbackup" key: "{{ borgbackup_source_key }}" + # yamllint disable-line rule:line-length key_options: "command=\"cd {{ hostvars[borgbackup_target_host]['borgbackup_pool'] | default(borgbackup_pool) }}/{{ borgbackup_source_host }};borg serve --restrict-to-path {{ hostvars[borgbackup_target_host]['borgbackup_pool'] | default(borgbackup_pool) }}/{{ borgbackup_source_host }}\",restrict" -- GitLab