Jump to ratings and reviews
Rate this book

Learning Ansible

Rate this book
Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasksAbout This Book
Use Ansible to automate your infrastructure effectively, with minimal effort
Customize and consolidate your configuration management tools with the secure and highly-reliable features of Ansible
Unleash the abilities of Ansible and extend the functionality of your mainframe system through the use of powerful, real-world examples
Who This Book Is ForIf you want to learn how to use Ansible to automate an infrastructure, either from scratch or to augment your current tooling with Ansible, then this is the book for you. It has plenty of practical examples to help you get to grips with Ansible.

What You Will Learn

Set up and write basic playbooks, with more focus on configuration management

Develop and test Ansible playbooks

Use Ansible to handle errors, add callbacks, and rollback playbooks

Write custom modules and test them

Use Ansible modules to provision servers on various clouds

Deploy and orchestrate your Ansible infrastructure


In DetailAutomation includes provisioning new servers, making sure the servers adhere to their role and maintain the desired state from a configuration perspective, and orchestrating various actions across environments and deploying code as expected to all these servers. This is where Ansible steps in. It is secure, highly reliable, and minimalistic in nature. It automates configuration management, application deployment, and many other IT needs.

Learning Ansible will equip you with the necessary skills to automate/improve your infrastructure from a configuration management perspective. You will also be able to use Ansible for one-click deployments, provisioning, and orchestrating your infrastructure.

310 pages, Kindle Edition

First published November 27, 2014

9 people are currently reading
24 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
5 (29%)
4 stars
7 (41%)
3 stars
4 (23%)
2 stars
1 (5%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
Profile Image for Phil Wilkins.
Author 2 books5 followers
March 14, 2015
The Learning Ansible book explains from first principles to the very rich capabilities of building packaging software, instantiating cloud servers or containers through to configuring systems and deploying applications into new environments; and then capturing instantiated system details into the Ansible inventory. How Ansible compares with the more established solutions in this space in the form of Puppet and Chef is discussed, and the pros and cons of the different tools. All the way through, the books has been written in an easy engaging manner. You might even say wonderfully written. The examples are very good with the possible exception of 2 cases (just merely good in my opinion), the examples are supported with very clear explanations that demonstrate the power of the Ansible product. Even if you choose not to use Ansible, this book does an excellent job of showing the value of not resorting to the ‘black art’ of system build and configuration and suggesting good ways to realising automation of this kind of activity, in many place undoubtedly thought provoking.

For a more detailed review checkout https://mp3muncher.wordpress.com/2015...
4 reviews
February 8, 2015
Before reading this book I never used Ansible before and I have to say I've enjoyed, the book covers a wide variety of Anslbe related topics. From a very basic stage restarting services and installing packages, to more complex topics like orchestration and testing.

I cannot say it goes deep in all of them but it's enough to keep you going and get a good understanding on how Ansible works and in a fun way, which is practical examples which can be used to get your hands dirty ;-)

The only thing I didn't like was that I found too much console output on the book for my taste, but other than that I would recommend the book to anyone wanting to get started with Ansible!.
Profile Image for Hendricus Kramer.
1 review1 follower
March 13, 2015
If you're not (yet) familiar with Ansible or you just started your Ansible journey, this book is a great startup.
You'll start your journey with great example playbooks to teach you the basics.
You can setup your own environment and compare results with the output from the book, and learn how to use Ansible and how to tune it.
I can recommend this book to anyone who is interested in learning Ansible.
Profile Image for Alessandro Franceschi.
5 reviews1 follower
March 16, 2015
This is a very good book, it brings nicely the reader from Ansible basics to more advanced topics.
For a reader like me, familiar with configuration management tools, but not with Ansible, the contents have been interesting and mostly new.
For Ansible experts it might lack some depth and for absolute beginners it might skip some basic explanations.
Overall a recommended reading.
38 reviews2 followers
May 6, 2016
Very well presented but, no fault to its own, is now outdated with the release of Ansible 2.0

Many of the concepts remain true, but it is now impossible to follow along with the examples.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.