3 ms·
I'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
by bvrmn 4y ago
I'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.