Also go has the advantage of producing a single static binary. Easy to build on your machine and run on another host.
Deployment or installation is just one scp away.
not rewriting, just when It needs large refactoring, or is currently a mess, or brand new.
Still, when we're talking about casual "scripts" even this extra step seems a little bit burdensome
Though in all those cases, for me, all alternatives are just as bad or worse.
Getting ansible running on a windows server is... unfortunate. Ensuring that your bash script runs on OSX is easier, but I've had lots of unexpected issues with tools like grep or find working just a tiny bit different. And so on.