1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02: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
- not 'config file already exists' in restic_init.stderr
- not 'config already initialized' in restic_init.stderr
- not 'config already exists' in restic_init.stderr
loop: "{{ restic_repos|dict2items }}"
when:
- item.value.init is defined