Replies: 3 comments 3 replies
-
So I found this endpoint: https://github.com/henrygd/beszel/blob/main/beszel/internal/hub/hub.go#L186 So it looks possible, but now I'm thinking there is no way to seed an initial user for the hub? |
Beta Was this translation helpful? Give feedback.
-
Figured it out 🙂 https://github.com/dbrennand/ansible-role-beszel/blob/0.0.1/molecule/default/create.yml#L23 |
Beta Was this translation helpful? Give feedback.
-
In case anyone comes along here in the future, here is my full Molecule sceanrio with REST API calls for registering the Beszel agent with the Beszel hub too 🙂 https://github.com/dbrennand/ansible-role-beszel/tree/0.0.1/molecule/default |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I'm currently working on an Ansible role to install the Beszel binary agent at scale across machines in my Homelab: https://github.com/dbrennand/ansible-role-beszel/tree/0.0.1
I was planning on writing some tests and I want to automate this end-to-end. However, the issue I have is I don't know what the
KEY
is for the agent as it has to be retrieved from the hub GUI. Is there an API to retrieve the key from the hub? Or some way to pre-seed theKEY
used by the hub?Beta Was this translation helpful? Give feedback.
All reactions