From 8424db9d69df4cdef3097e8a03c29b1d6829d0e8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 15 May 2019 20:32:57 +0200 Subject: o Borg: some bugs. --- ansible/roles/borg-target/tasks/borg-init.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ansible/roles') diff --git a/ansible/roles/borg-target/tasks/borg-init.yml b/ansible/roles/borg-target/tasks/borg-init.yml index 21b86d6..513b7d3 100644 --- a/ansible/roles/borg-target/tasks/borg-init.yml +++ b/ansible/roles/borg-target/tasks/borg-init.yml @@ -1,7 +1,7 @@ - with_items: "{{ client.value.repos }}" assert: that: - - "item in borg_target__passphrases[client.key]" + - "item in borg__passphrases[client.key]" fail_msg: "{{ item }} is missing from borg-secrets.yml" success_msg: "" @@ -26,7 +26,7 @@ args: creates: "{{ path }}" environment: - BORG_PASSPHRASE: "{{ borg_target__passphrases[client.key][item] }}" + BORG_PASSPHRASE: "{{ borg__passphrases[client.key][item] }}" vars: path: "{{ borg_target__home }}/repos/{{ client.key }}/{{ item }}" -- cgit v1.2.3