From f500327f594ac9f504e90841a5a12dfd68fb3baf Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Tue, 2 Jun 2020 15:58:43 +0200 Subject: [PATCH] FIX: init --- CHANGELOG.md | 1 + tasks/configure.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6500db9..465974f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and [human-readable changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed: * AWS credentials are now supplied to the initialising step * 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 ### Added diff --git a/tasks/configure.yml b/tasks/configure.yml index a965b7d..642f2de 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -13,6 +13,7 @@ failed_when: - restic_init.rc != 0 - not 'config file already exists' in restic_init.stderr + - not 'config already initialized' in restic_init.stderr loop: "{{ restic_repos|dict2items }}" when: - item.value.init is defined