1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

fix: error when trying to re-initialize b2 repository (#22)

* Fixed error when trying to re-initialize b2 repository

* Added changelog entry
This commit is contained in:
Luca Zorzi 2020-11-12 18:42:56 +01:00 committed by GitHub
parent b42e9c3c45
commit dabf0420d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@
- restic_init.rc != 0 - restic_init.rc != 0
- not 'config file already exists' in restic_init.stderr - not 'config file already exists' in restic_init.stderr
- not 'config already initialized' in restic_init.stderr - not 'config already initialized' in restic_init.stderr
- not 'config already exists' in restic_init.stderr
loop: "{{ restic_repos|dict2items }}" loop: "{{ restic_repos|dict2items }}"
when: when:
- item.value.init is defined - item.value.init is defined