Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple entries created for SSH-key on borgbase.com web gui #99

Open
mustafa-kutlu-dioss opened this issue May 3, 2022 · 1 comment
Assignees

Comments

@mustafa-kutlu-dioss
Copy link

mustafa-kutlu-dioss commented May 3, 2022

We found out after some testing with default settings, keys are imported multiple times in the GUI. If you run the script multiple times, you'll see that multiple entries are added to the Borgbase.com SSH-keys page. Check screenshot below.

These are our settings:

---
# Full path to repository. Your own server or BorgBase.com repo. Not required when using auto creation of repositories. Can be a list if you want to backup to multiple repositories.
borg_encryption_passphrase: "testing"
borg_source_directories:
  - /etc/netplan
borg_exclude_patterns:
  - /srv/www/old-sites
borg_retention_policy:
  keep_hourly: 1
  keep_daily: 1
  keep_weekly: 1
  keep_monthly: 1

# Variables
create_repo: True
bb_token: "aay..................Q"
bb_region: "eu"

Screenshot

@mustafa-kutlu-dioss mustafa-kutlu-dioss changed the title UnboundLocalError: local variable 'key_id' referenced before assignment Multiple entries created for SSH-key on borgbase.com web gui May 3, 2022
@m3nu
Copy link
Collaborator

m3nu commented May 3, 2022

This module is now maintained here: https://galaxy.ansible.com/adhawkins/borgbase

I didn't get around updating the role yet to use this external module.

@m3nu m3nu self-assigned this May 3, 2022
@m3nu m3nu added the type:task label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants