6 ms·
Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!
by Fizzadar 4y ago
Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!
- dolni 4y agoDoes pyinfra play nicely with devices that provide an SSH interface, but aren't traditional Unix boxes? I use Ansible currently to manage the config on a Ubiquiti EdgeRouter. Using actual Python would be even better.
- Fizzadar 4y agoYes! I know of people that have connected to systems without any traditional shell/unix stuff. You can change the shell (or have none) used if needed using the global `_shell_executable` global arg (https://docs.pyinfra.com/en/2.x/arguments.html#shell-control-features https://docs.pyinfra.com/en/2.x/arguments.html#shell-control...). Most operations rely on various Linux/similar tools but the `server.shell` operation plus shell flag above should get you connecting and executing commands. Please do reach out if this doesn’t work for your setup!
- jononor 4y agoInterested in the same usecase, but for Mikrotik routers.
- ngcc_hk 4y agoRead a few pages I gave up. May I ask - what is its use case? - security - charge model - self hosting Sorry if miss a faq on the site ?
- inhumantsar 4y agoLate reply but I'm curious if the focus is idempotent execution (like ansible) or desired state (like puppet). I'm guessing the former since it's agentless.