mirror of
https://github.com/roles-ansible/ansible_role_restic.git
synced 2024-12-11 23:41:32 +01:00
FIX: init
This commit is contained in:
parent
b44b1694de
commit
f500327f59
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ and [human-readable changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
### Fixed:
|
### Fixed:
|
||||||
* AWS credentials are now supplied to the initialising step
|
* AWS credentials are now supplied to the initialising step
|
||||||
* Cronjob step does not fail if `scheduled` parameter is not set on repo
|
* Cronjob step does not fail if `scheduled` parameter is not set on repo
|
||||||
|
* init respects `'config already initialized'` string
|
||||||
|
|
||||||
## [0.2.4] - 2020-06-01
|
## [0.2.4] - 2020-06-01
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
failed_when:
|
failed_when:
|
||||||
- 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
|
||||||
loop: "{{ restic_repos|dict2items }}"
|
loop: "{{ restic_repos|dict2items }}"
|
||||||
when:
|
when:
|
||||||
- item.value.init is defined
|
- item.value.init is defined
|
||||||
|
|
Loading…
Reference in a new issue