News for hackers. Stuff that matters.
Re:Ansible 101 by Jeff Geerling – new series on YouTube by justinsaccount on Sunday March 22, 2020 @05:29PM (#22658858)
> It's calling python code behind the scene anyway

It doesn't even really do that. It sets up a rube goldberg mechanism to push a python program containing a base64 encoded zip file containing the module it wants to execute it. Then it runs a shell to run python to run that module. This is why ansible is 2000x slower than it should be.

see https://github.com/ansible/ansible/issues/36275

Re:Ansible 101 by Jeff Geerling – new series on YouTube by expialidocious on Sunday March 22, 2020 @06:15PM (#22659238)
I like that, rube goldberg mechanism, good way to describe it. How it uses ssh also slows it down. Mitigen speeds it up significantly.

https://mitogen.networkgenomics.com/

Re:Ansible 101 by Jeff Geerling – new series on YouTube by geerlingguy on Sunday March 22, 2020 @07:04PM (#22659606)
Mitogen is a nice speedup if it works for your use case. Some of the improvements from the mitogen architecture have slowly worked their way into Ansible core, but it seems that a number of the major shifts can lead to breakage in some scenarios. Hopefully more of the low hanging fruit can make it into Ansible someday...
Re:Ansible 101 by Jeff Geerling – new series on YouTube by BiteCode_dev on Sunday March 22, 2020 @05:52PM (#22659062)
Yes but part of it is necessary because it's agentless, which is an awesome feature.

Getting rid of the yaml would make things faster, but compare to the cost of the network, I don't think it would be that much faster.