2026-04-05 09:39 UTC
@monotux@hachyderm.io it's funny you say that, because I gave yet another chance to Ansible yesterday, and I'm never going to use it ever again.
Gather facts disabled, explicit python interpreter path, control master for persistent ssh connection, disabled the package cache update: it still takes 22 seconds to execute zero change for syncing one file and checking the presence of a package. A simple equivalent ssh command, 490 ms.
Replies (1)
-
@monotux@hachyderm.io 2026-04-05 09:44
@bug@fosstodon.org yes, it is slow, and a script like yours is faster. but that is not the point. the point is that you can use the same interface (yaml lol) to interface with APIs, machines, orchestrate changes on clusters et c all without reinventing the wheel. a terrifying amount of manufacturers and projects have ansible collections available. its like the old saying regarding perl and c, "with c you can write a fast program, but with perl you can write a program fast". scripts will be faster but at some point you will end up reinventing the wheel again and again, where you might save time just using ansible.