For fun I've been writing a fairly complicated set of Linux automation scripts in both Ansible and Pyinfra.
I like Pyinfra, but it feels a lot more like I'm programming in Python then defining automation tasks.
I think a lot of Ansible dislike is from bad implementation.
I like Pyinfra, but it feels a lot more like I'm programming in Python then defining automation tasks.
I think a lot of Ansible dislike is from bad implementation.
Comments
I'm looking to try to get into Linux automation a bit. So far all I've done is cloud-init scripts for VM images, and I'm not a fan. AFAIK Ansible uses yaml too so I'm hesitant there...
never used it ever since
What sorts of tasks do people automate with these tools?
I have recently been professionally doing Ansible more and more, an I can say that this is very true.
Salt stack with a lightweight agent,more work up front and alien templates,but absolute control.
I feel like Rust or Go would be the modern "not-Python" answers though
One benefit of this is that you could bring your own language, so long as it can compile/transpile into WASM.
i believe python does actually leverage a global bytecode compilation cache, so..
Sometimes I have to run it from a dev container that is of a similar OS age to the target.
They now carry their own Python interpreter for the agent, so you're no longer dependent on the version available on the target.