pyinfra — agentless infrastructure automation, in plain Python

64 points by gregnavis


Relax

pyinfra is basically what ansible should have always been -- write your automation directly in python, rather than a janky mix of templated yaml with control flow structures bolted on. It's a breath of fresh air after dealing with ansible for so long (and I say this as someone that didn't have any particular dislike for ansible).

linkdd

I really like pyinfra and I wish it had more traction.

So far, all the companies I worked with use Ansible (with or without Terraform), and not a single one was ready to rewrite all of their automation with something else that their employees have no experience with.

pyinfra also requires the SysOps to know Python. While in my mind it should be mandatory for a SysOps to know some scripting language (especially with Ansible, Python can be used to write modules and reduce the amount of YAML mess), it's not a very common point of view, at least in France.