News for hackers. Stuff that matters.
Re:Using Ansible and Nomad for a homelab (part 1) by tkiolp4 on Sunday February 27, 2022 @02:46PM (#30491808)
In general I agree, first try bash scripts and then, if needed, something like Ansible. More often than not, though, the bash scripts I produce are buggy, non-idempotent, and really difficult to maintain. One could argue “know your tools!”, and while I agree with the sentiment, somehow for me at least, it’s way easier to write maintainable, less buggy, and idempotent Ansible plays than to do the same with bash.
Re:Using Ansible and Nomad for a homelab (part 1) by phillu on Sunday February 27, 2022 @05:37PM (#30493467)
You are not the only one. Anecdotal, but I have seen far more unmaintainable, half-assed, 1000-line build.sh scripts than Ansible scripts.