News for hackers. Stuff that matters.
Re:Chezmoi – Manage your dotfiles across multiple diverse ma... by cybrox on Monday August 29, 2022 @11:23AM (#32639373)
I've shared an example based on what I currently use here: 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.

There are no comments on this comment yet.