-
-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Request details
Using automation to deploy reposilite now is hampered by the fact that persistent tokens can only be created through the cli.
I like to write an ansible playbook that deploys services, and when there are changes, I update the playbook and re-run it.
As it stands, the only way to do that with reposilite is to add --token to command line, so it always starts up with the same temporary token (parameter shows up in process list, unless I further obfuscate with env variable) or using expect (complicated, ansible would have to shut down the service, run the service interactively and then use expect to run the token-import command)
I wish I could use ansible to generate tokens.json and then add a parameter or config option to always have reposilite flush it's tokens and import from the file