Re:Every Sufficiently Advanced Configuration Language Is Wrong
by bvrmn on Saturday June 25, 2022 @02:31AM
(#31873060)
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.
Re:Every Sufficiently Advanced Configuration Language Is Wrong
by ameixaseca on Saturday June 25, 2022 @02:28PM
(#31877542)
What do you mean by "state-oriented"?
Also: complex cases will likely result in complex code. Do you have a viable alternative for this?
Re:Every Sufficiently Advanced Configuration Language Is Wrong
by bvrmn on Sunday June 26, 2022 @03:05AM
(#31881797)
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.
I've been been using it for a couple personal projects, and I really like it.