4 ms·
I've been using Ansible for years now to do this. Right now all my computers run fedora so there's not much difference between them but for some time I used An
by Sphax 4y ago
I've been using Ansible for years now to do this.
Right now all my computers run fedora so there's not much difference between them but for some time I used Ansible on macOS too. It worked but was a pain to make my roles compatible for both linux and macOS.
In my experience Ansible is good when dealing with text files or if there's already a module for what you're trying to do (for example managing postgresql users).
If what you're trying to do is complex enough that you need to write a custom module or plugin, it is a pain in the ass: we had to do that at work and it was terrible.
Ansible works on Windows but I have no experience with it.
- pletnes 4y agoI’ve used a git repo with ansible on ubuntu, win10, WSL2 and macos. Works close-enough-ish and I mainly use it to copy dotfiles into place. I’ve used symlinks in the past to avoid reliance on a tool, but symlinks are no good on windows.