Re:Terraform 1.0
by pram on Tuesday June 08, 2021 @09:43AM
(#27435098)
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.
[ Parent
| on HN ]
Re:Terraform 1.0
by digianarchist on Tuesday June 08, 2021 @10:30AM
(#27435658)
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.
Re:Terraform 1.0
by buggeryorkshire on Tuesday June 08, 2021 @09:46AM
(#27435141)
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.
Re:Terraform 1.0
by buggeryorkshire on Sunday June 13, 2021 @07:49AM
(#27491753)
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!
Re:Terraform 1.0
by polynomial on Wednesday June 09, 2021 @03:41PM
(#27452182)
What kinds of tasks can Ansible do that Packer isn't also capable of?