© 2016


From Beginner to Pro

  • Learn to use open source roles to complete common tasks, and write your own specific to your business

  • Extend Ansible by writing your own modules

  • Test your infrastructure using Test Kitchen and ServerSpec


Table of contents

  1. Front Matter
    Pages i-xvii
  2. Michael Heap
    Pages 1-17
  3. Michael Heap
    Pages 19-30
  4. Michael Heap
    Pages 31-48
  5. Michael Heap
    Pages 49-62
  6. Michael Heap
    Pages 63-82
  7. Michael Heap
    Pages 83-98
  8. Michael Heap
    Pages 99-124
  9. Michael Heap
    Pages 125-136
  10. Michael Heap
    Pages 137-157
  11. Michael Heap
    Pages 159-162
  12. Michael Heap
    Pages 163-166
  13. Back Matter
    Pages 167-170

About this book


This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. It takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting.

You will learn how to create an Ansible playbook to set up an environment automatically, ready to install an open source project. You’ll extract common tasks into roles that you can reuse across all your projects and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn how to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks.

Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You’ll be writing roles and modules and creating entire environments without human intervention in no time at all – add it to your library today.


Configuration management Open source Ansible IT infrastructure Infrastructure management Applications IT applications System management Continuous delivery DevOps Red Hat Docker OpenStack

Authors and affiliations

  1. 1.ReadingUnited Kingdom

About the authors

Michael Heap is a software engineer from London, England. Day to day, he runs a team dedicated to reducing technical debt across a data processing platform with a wide range of technologies – from C++ to Java to Golang to PHP. When he’s not working, Michael enjoys playing squash, travelling and trying to read every page on Wikipedia.

Bibliographic information