3 ms·
Terraform is not great at provisioning "inside" of Unix servers, and Ansible is not great at provisioning cloud resources.
by tptacek 6y ago
Terraform is not great at provisioning "inside" of Unix servers, and Ansible is not great at provisioning cloud resources.
- xyzzy_plugh 6y agoYep. Terraform + Ansible or Puppet is the way to go.
- tptacek 6y agoI don't think I agree anymore; most of what I'd get done with Ansible now I'd do with a container, and if all you need to get done on the host is networking and a reasonable Docker setup, Terraform is good enough to get that done. I'm a lot less likely to ever use Ansible now. But, I mean, the answer to the question above is easy. :)
- senorsmile 6y agoansible can be used to build container images in an idempotent way. And ansible is greatat creating deployment logic among other things. Where puppet , chef et al. are primarily for automating a direct machine, Ansible is a general purpose automation framework. Terraform is definitely better at provisioning cloud resources, but Ansible is much better at automating pretty much anything else that you could think of.
- ViViDboarder 6y agoI use Ansible to harden my servers, configure ssh, deploy private keys, install Docker, and start all my Docker services.
- devn0ll 6y agoI've noticed that I used Ansible less and less because of kubernetes. Now we also use crossplane.io and we never touch terraform anymore as well. It's all helm charts now here.
- emptysongglass 6y agoIsn't there a a chicken and egg problem with Crossplane? A quick glance over the docs tells me I need a cluster to already exist. So how am I provisioning that cluster? Terraform.