How Ansible got started and grew |

How Ansible got started and grew

Ansible's founder Michael DeHaan shares how his background led him to develop the IT automation software.

gears and lightbulb to represent innovation
Image by :

Subscribe now

Get the highlights in your inbox every week.

Recently, Flagsmith founder Ben Rometsch spoke to Michael DeHaan, founder of open source IT automation software Ansible (now part of IBM/Red Hat), on The Craft of Open Source podcast about how he developed Ansible and what he's been doing since.

"If people aren't successful trying (your app/tool) out in about 30 minutes, they're going to move on. You have to make somebody successful within their lunch hour. I spent a lot of time thinking about the documentation."
—Michael DeHaan

His remarks were fascinating and enlightening, especially for anyone interested in open source software as a developer, creator, or community member. Read on for a summary of the conversation.

How Michael started in open source

When Michael joined Red Hat's emerging technologies team in 2005, it was the beginning of his journey with open source projects. The team gave him carte blanche to work on any projects he wanted, as long as they helped customers.

At the time, Xen and KVM were becoming available, and the team wanted to create a good solution to automate a PXE bare-metal infrastructure. Michael created his first open source project, Cobbler, to automate those installs, and it became fairly widely used.

Func was Michael's next open source project. It came from filling in the gaps between software that enabled bare-metal provisioning and configuration management tools. Func became fairly well deployed, with Fedora using it in some of its infrastructure. Some of Func's concepts and ideas later influenced Ansible.

The birth of Ansible

Ansible came after Michael spent a short spell working for Puppet. Afterward, he worked for another company that was trying to create an integration, but the job wasn't a good fit, and he wanted to return to working on a project in the open source community.

Frustrated that it still took several days (or longer) to get a setup working due to DNS and NTP problems, Michael decided to create an open source solution to automate installations. The idea was to build something SSH- and push-based, without a load of management agents.

Ansible was the result of this design goal. It provided an easy, quick solution, rather than spending hours or days using tools like Chef and Puppet. At the time, companies were employing full-time teams of people to manage cloud installations and configurations. Ansible provided a solution that one person could employ in less than one day.

Ansible: The right tool for the right time

Part of Ansible's success was due to timing, Michael says. There was a demand for greater cloud integration and a quick, convenient way to upload content and install apps on cloud systems.

It would be difficult for a full-time developer to have the time to create something like Ansible in today's world, as things are much more highly scheduled. He says people expect a complete product, not a work in progress with a supportive user community that has the time to experiment and play with a new coding language. Times have changed.

Also, Ansible was released in 2012, when the demand for automation was growing more rapidly than now. While some companies have mastered the art of automation and are focusing more on Kubernetes and other things, others continue to discover it. Most companies do their own programming now, with teams of developers creating fully polished solutions. These days, people are using React and Kubernetes, which build on dependencies, rather than starting from scratch on an open source project.

With Ansible, most of the open source work was in the libraries and the packaging. Michael remembers that they were learning as they went along, initially unsure of how to run a systems-management project in a way that gets lots of feedback from people and can evolve. Puppet and Chef provided a template for how to accomplish this, mostly through trial and error. Michael set up a large number of IRC channel conversations, which allowed direct communication with various use cases.

Ansible's documentation was key for developers taking it to the next level. It was simple, to the point, used short and persuasive sentences, and included free trial offers. The documentation made it clear to users that Ansible could be run on their own infrastructure without security concerns.

Marketing and promotion

The buzz around Ansible was generated mainly through blog posts, articles, tutorials, and opinions shared on social media. Occasionally, it would break through onto the pages of Hacker News, or a Reddit thread would become popular. 

Michael focused on creating shareworthy content that people could link to. He also made sure that he read every comment and tweet to gain as much feedback as possible to take the project in the right direction.

As momentum grew, Michael hired some employees to help him scale up, but he retained creative control and overall project management. When Michael left the Ansible team in 2015, there were around 400 modules, which made management pretty tricky.

Life after Ansible

Michael now works mainly on Django and Python software development, with some apps and projects on the side, including the WARP music sequencer.

To discover more about Ansible and Michael's views on today's open source landscape, burnout, GitHub, Google Reader, and much more, check out the full podcast.

Old UNIX computer

Brian Kernighan, one of the original Unix gurus, shares his insights into the origins of Unix and its associated technology.
People work on a computer server with devices

A sysadmin shares information and advice about putting Ansible into real-world use configuring computers on his network.
Coffee and laptop

Configuring his young daughters' computers with Ansible made it simple for this dad to manage the family's computers.


About the author

Ben Rometsch - I used to be a software engineer. Now I'm jealous of software engineers. I am currently working full time on Flagsmith, an open source feature flagging product. I've started quite a lot of companies. Some of them actually make money. I've started some companies for other people too. Specialties: Software engineering. Technical product owner. Inserting USB cables the right way round first time without looking.