Site icon Leonid Mamchenkov

Checking out Ansible. Sorry Puppet

It’s Thursday evening of a particularly difficult week at work.  Tomorrow is a public holiday, effectively making this – a Friday.  My brain is blank and exhausted, so I can’t do anything productive.  And I’m too tired to go out.  But I can still learn a thing or two.

First things first – cancel the external noise.  I want something loud, but not too intensive, and with no words in it.  So this 2 hour blues instrumental collection comes in handy.  Start the playback, put the headphones on, and push the volume up.

Now.  Here’s something I wanted to look into for quite some time – Ansible configuration manager.

I’ve been using Puppet, an alternative configuration manager, for a few years now.  It’s a great tool and I’m a big fan of it.  It literally saved me hundreds of hours. If not thousands.  And my sanity.

I’ve deployed Puppet to multiple environments, managing dozens of servers, and even a few desktops.  I’ve used community modules and built my own.  I’ve ran it on machines big and small, old and new.  And I still love it.

But my requirements have gradually changed.  Or maybe I’ve just learned more about configuration management, web hosting, and cloud computing.   Puppet still works well for me, but I keep getting this feeling that there is a better, simpler way of doing things that I need doing.

I’ve read about Ansible since a while back.  Then I’ve attended the session about it during the International PHP Conference 2014, back in Berlin, Germany.  It was insightful, but not more than that.  Last year, my Linux distribution vendor of choice – Red Hat acquired Ansible.  Which obviously spiked my interest – it’s only logical to expect Fedora, CentOS and Red Hat distributions to do more with it and to push it forward.  But I didn’t have time to look at it.  And today I do.

I’ve read through the Ansible Documentation first.  It is quite an easy read – short enough, but not to condensed, with lots of examples, covering all the important bits.  I got immediately hooked.  Here are a few things that appealed to me.

When I finished with the Ansible Documentation, I decided to look around and see what other people are saying about Ansible, especially in comparison of it to Puppet.  Here are a few posts worth reading:

After reading all of that, it sounds like Ansible is a better match for what I need than Puppet.  It’s too late and I’m too tired to try it today, but I will definitely be getting my feet wet in Ansible waters in the next few days.   As always, sandbox/playground repositories and my dotfiles will come first…

Exit mobile version