4 ms·
Check out pyinfra: https://pyinfra.com/ https://pyinfra.com/ I've been been using it for a couple personal projects, and I really like it.
by zach_garwood 4y ago
Check out pyinfra: https://pyinfra.com/ https://pyinfra.com/
I've been been using it for a couple personal projects, and I really like it.
- bvrmn 4y agoI've tried to move large ansible playbooks to pyinfra and there is no any benefit in the end. pyinfra is also "state"-oriented and for complex cases with logic you have to perform some acrobatics. IMHO switch resulted in the same mess as ansible playbooks. Note: I am python-fanatic with 15y experience.
- ameixaseca 4y agoWhat do you mean by "state-oriented"? Also: complex cases will likely result in complex code. Do you have a viable alternative for this?
- bvrmn 4y agohttps://docs.pyinfra.com/en/2.x/getting-started.html#state-definitions https://docs.pyinfra.com/en/2.x/getting-started.html#state-d... > Do you have a viable alternative for this? My imperative Fabric 1k line deploy scripts in the past allowed to encapsulate complexity because I had remote state on hands.