5 ms·
I've shared an example based on what I currently use here: https://news.ycombinator.com/item?id=32639329 https://news.ycombinator.com/item?id=32639329 :) I use
by cybrox 4y ago
I've shared an example based on what I currently use here: https://news.ycombinator.com/item?id=32639329 https://news.ycombinator.com/item?id=32639329 :)
I used to use bash scripts myself, however, I did transition to Ansible because I often ran into problems with replayability of scripts (running them multiple times).
Ansible (and other tools like it) handle stuff like "change a line in this config file to that" or "add this flag here when xyz" easily and you can run it as many times as you like.
Also, Ansible Galaxy offers a lot of roles ready-to-use such as docker setup or asdf version manager plugin management. Though a lot of it is often not that well maintained.