2 ms·
I keep my dotfiles in git, and I was setting up my new laptop the other day, so I figured I'd do it right. I added an Ansible file to provision the laptop from
by StavrosK 11y ago
I keep my dotfiles in git, and I was setting up my new laptop the other day, so I figured I'd do it right. I added an Ansible file to provision the laptop from scratch. It installs all my packages, tools, preferences, etc, and it also goes and gets my repos from a server and puts them in the right places.
It's idempotent, so whenever I need to make a config change, I just change that file and run "provision", and everything is the same across machines. I'm not sure if this answers all of your questions, but it's good enough for work (personal data can go on something like Dropbox or Syncthing).