aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/borg-target/tasks/borg-init.yml4
1 files changed, 2 insertions, 2 deletions
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 }}"