Just discovered for me. Of course did know about it but never properly checked it out.

Such a nice tool and just great to provision a base image for VPS instances. Especially not having to fiddle with all the edge cases when provisioning with shell scripts.

Still much to learn, I feel I just scratched the surface of it... Well, my setup is rather simple anyways ๐Ÿ˜…

@dnaka91 I love Ansible too :) For base images I'd also recommending checking out Packer. It's one of my favourite devops tools.

I wrote about Packer a while back. Hope it helps:

notes.ayushsharma.in/2017/09/g

@ayushsharma22 nice thing about is that you can easily switch the cloud provider with and try out all the provisioning steps locally.

Sure, it's not 100% the same as the base image is different so you still can expect one or the other thing to fail when running against the cloud provider.
But still it's such a helpful tool to develop the setup all locally first.

Follow

@dnaka91 Vagrant is a real life saver. I'm still surprised a lot of people don't use it. You're right about Ansible being better at error handling and retries; bash would require too much boiler plate code to handle that. One thing I like is that once I'm happy with my Ansible setup, I can use it as a provisioner in Packer and get a golden image out of it :)

ยท ยท 0 ยท 0 ยท 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!