-
-
Notifications
You must be signed in to change notification settings - Fork 402
[WIP] lxcssh connector #1282
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
base: 3.x
Are you sure you want to change the base?
[WIP] lxcssh connector #1282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @opekar ! First up - thank you for PR-ing this, it's great to see the connector framework/API being used!
Same as other PRs I'm not going to merge this into pyinfra core, however, because I would like to reduce the number of connectors that are maintained within pyinfra itself (I am thinking v4 will only contain @ssh and @docker and will move all others into their own packages).
If you have time and are willing I'd highly encourage you to turn this into a pypi package (pyinfra-connector-lxcssh?) which could then be linked to on the connectors index in the docs. Would me more than happy to include this directly in the pyinfra documentation so people can find it.
Hi @Fizzadar, I will try to repackage it to separate repository, is there any example or template repository for this connector only repo? |
This is alfa version of LXC ssh connector inspired by pyinfra dockerssh connector
I'll be happy, if you try it out in your environments.
To test it you can install code from this PR into your venv
Seems to me would be quite straightforward to add support for LXD support mentioned in #677. E.g. this can be a reference ansible lxc connector.