Skip to content

Commit

Permalink
fix restic if repo already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
stehessel committed Oct 29, 2023
1 parent eadcf7c commit a21c9bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/restic/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
failed_when:
- result.rc != 0
- '"config already exists" not in result.stderr'
- '"repository master key and config already initialized" not in result.stderr'
become: true
loop: "{{ restic__repos }}"

Expand Down

0 comments on commit a21c9bf

Please sign in to comment.