Hacker News new | ask | show | jobs
by ozim 1428 days ago
That is why I went for totally stupid-silly automations.

I don't write "reusable" automations - I don't write scripts with parameters. I write a lot of scripts where I open it in notepad to edit and fill in variables.

Most of the times I just put copies of these scripts on specific servers and have variables filled in.

Variables need to change only if I change server or really change config of a server which is almost never.

This way "Automation" xkcd "Theory" fits reality.

Because then instead of rehearsing commands and what was the configuration I just go to the server and run the script and instead 30mins simple task takes me 2 mins.