Hacker News new | ask | show | jobs
by pram 1844 days ago
They're not competition. I use Terraform for infra provisioning, and Ansible for post-provisioning application setup. I also use Packer + Ansible playbooks to build my AMIs.
3 comments

You can create infra with Ansible. The downside to Ansible is the Cloud Provider modules are "community" not core and some of them are buggy.
Yup, that's the best use-case. The more that cloudy / container stuff takes over the less I use Ansible tbf.
A lot of post provisioning tasks I used to do with Ansible are now handled with cloud-init.
Exactly. We use it in the pipeline for building the AMI unfortunately at my current place but it's not optimal.
I like Packer + Ansible for building machine images. I haven't really tried any alternative workflows but that has been great for my needs so far!
What kinds of tasks can Ansible do that Packer isn't also capable of?