diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-15 20:32:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-08 09:03:13 +0200 |
commit | 8424db9d69df4cdef3097e8a03c29b1d6829d0e8 (patch) | |
tree | 7a262e653d8bae6426435f7a29d5ba169213191f /ansible/roles/borg-target | |
parent | d341e8a0967e3a186e2112c6fc55988e50523a9a (diff) | |
download | infra-8424db9d69df4cdef3097e8a03c29b1d6829d0e8.tar.gz infra-8424db9d69df4cdef3097e8a03c29b1d6829d0e8.tar.bz2 infra-8424db9d69df4cdef3097e8a03c29b1d6829d0e8.tar.xz infra-8424db9d69df4cdef3097e8a03c29b1d6829d0e8.zip |
o Borg: some bugs.
Diffstat (limited to 'ansible/roles/borg-target')
-rw-r--r-- | ansible/roles/borg-target/tasks/borg-init.yml | 4 |
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 }}" |