mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
Fix BorgBase repository creation (#66)
This commit is contained in:
parent
3bd0b3d497
commit
c94da43a80
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user