Fix BorgBase repository creation (#66)

This commit is contained in:
Kevin 2021-05-09 03:27:34 +02:00 committed by GitHub
parent 3bd0b3d497
commit c94da43a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,10 +181,11 @@ def main():
if repo_id is None:
# Add new repo using the key
res = add_repo(key_id)
repo_exist = False
else:
# Edit the repo
res = edit_repo(repo_id, key_id)
repo_exist = True
# Setup information for Ansible
result = dict(