4 ms·
My answer: so that other people can actually work with the scripts you write. Some DSLs are definitely a waste of time (hello Jenkins!), but in the anecdotal e
by wwright 7y ago
My answer: so that other people can actually work with the scripts you write.
Some DSLs are definitely a waste of time (hello Jenkins!), but in the anecdotal experience of myself and literally everyone I’ve talked to, Ansible is massively easier to learn than Bash. I’ve had junior devs (who don’t even know Python!) writing and maintaining useful tasks within minutes, and that’s not even an exaggeration.
Shell scripts, IME, work great until you need a certain amount of logic, and then they become a collapsing Death Star of edge cases and tribal-knowledge pitfalls.