(no title)
JimBlackwood | 1 month ago
We keep our roles very simple and they will not do anything complicated. Ansible is for configuring a machine, that’s it.
If we need to do anything more complicated, we’ll write it in a testable program (usually in Go).
ornornor|1 month ago
I have a playbook for my dotfiles/rebuilding a personal machine from scratch. So I test that the files end up where they're supposed to be, the permissions, the packages, that whatever software I installed from source are indeed setup correctly and running, etc.
Same for roles that need to provably configure a piece of software.