Pyinfra automates infrastructure super fast at scale
31–38 of 38 posts
Re: Pyinfra automates infrastructure super fast at scale
#32Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!
Re: Pyinfra automates infrastructure super fast at scale
#33Re: Pyinfra automates infrastructure super fast at scale
#34How would you use pyinfra to manage a fleet of edge devices ? The main difference with a park of servers being that the edge devices are mounted on vehicles and therefore switching on and off with their own rhythm each. We cutrently get an alert from each device when an update is needed, ssh into it, and docker-compose the latest services.
Re: Pyinfra automates infrastructure super fast at scale
#35Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!
Does 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.
Re: Pyinfra automates infrastructure super fast at scale
#36Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!
I'm guessing the former since it's agentless.
Re: Pyinfra automates infrastructure super fast at scale
#37Earlier quoted context omitted.
One example where I personally ran into trouble with ansible was in dealing with SSL certificates. In production we use letsencrypt to generate SSL certificates as you'd expect, but for testing we were using self-signed certificates. This was surprisingly complicated under the ansible model, basically I ended up writing a reusable playbook that worked more or less as a function, and running a hook at the end to actua…
Feels as though perhaps this should have dropped from playbook into a module? https://docs.ansible.com/ansible/latest/dev_guide/developing... Then just writing a function.