Hacker News new | ask | show | jobs
by mindcrime 1488 days ago
I'd shy away from writing "one off" deployment tools myself, unless I had a very specific reason to do it. My preference for automation of infrastructure provisioning these days is Ansible, although I'm starting to work with Terraform a bit at the $DAYJOB. At Fogbeam, all of our automated infra provisioning stuff is just a wrapper on top of Ansible. I don't find the YAML files to get terribly large or complex, and even if they did, I doubt hand-rolled code to achieve the same thing would be any less complex.

For my money, if I wanted to do something that wasn't supported by Ansible (or similar tool of choice) I think my time would be better spent writing a module for the tool to add that support, than writing some one-off thing. But as always, "it depends" and YMMV of course.

1 comments

Oops, just found I submitted two posts duplicately. Was doing this on my phone, and got some problem. Please use another thread: https://news.ycombinator.com/item?id=31462123

Thanks mindcrime for sharing the experience! Glad to hear Ansible and related YARML files work for you!