Ansible is a configuration management and provisioning tool, similar to Chef, Puppet or Salt. I’ve found it to be one of the simplest and the easiest to get started with. A lot of this is because it’s “just SSH”; It uses SSH to connect to servers and run the configured Tasks.
One nice thing about Ansible is that it’s very easy to convert bash scripts (still a popular way to accomplish configuration management) into Ansible Tasks. Since it’s primarily SSH based, it’s not hard to see why this might be the case – Ansible ends up running the same commands.
Ansible relies on yml files. For a newbie, who wants something simple, without going deep in yml files, I was looking for something that i can run using a cli command. I searched online for a tutorial. I read through a few, but most of them are complicated and cover so much details that sometimes they confuse me.
But finally I found Michael Booth’s “one line and no files” introduction to Ansible:
It is one of the simplest tutorials that I came across, and everything is explained through one command only. It was written at the level of detail that let me have a few “so that’s how it works!” moments with less than 5 minutes of reading.
Booth’s post isn’t designed to tell us everything we need to know, but it does a great job of giving us an understanding of a few fundamentals. For me, it was enough to give me an understanding that Ansible is something I want to learn more about.
Check it out …