Replies: 3 comments 1 reply
-
I personally use Pyinfra rather than Ansible because I don't think it's a good idea to use YAML as a programming language. |
Beta Was this translation helpful? Give feedback.
-
Ansible is one of the reasons I stated pyinfra in the first place! Some things that I wanted to solve (note this is coming from ansible 2.1):
That’s all I can think of- this is all way back from 2015 when I first started pyinfra! I know both ansible and pyinfra have changed a lot since then, but the general philosophy of how pyinfra works to this day is as above. |
Beta Was this translation helpful? Give feedback.
-
As others have written, driving the deploys with real code is super strong. It isn't just whether you write loops as I manage ethernet switches using pyinfra, and the process looks like
Good luck doing 1. and 3. with ansible. On the other hand, ansible's ecosystem is much larger and more mature, especially the modules are better polished. If you want execute rather standard operations on rather standard targets, ansible may save you some time in the short term. |
Beta Was this translation helpful? Give feedback.
-
Hi
The feature set appears to overlap with Ansible, so how does it compare? Why use pyinfra over Ansible?
Beta Was this translation helpful? Give feedback.
All reactions