Skip to main content
  • Book
  • © 2016

Ansible

From Beginner to Pro

Apress

Authors:

  • 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

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (11 chapters)

  1. Front Matter

    Pages i-xvii
  2. Getting Started

    • Michael Heap
    Pages 1-17
  3. The Inventory File

    • Michael Heap
    Pages 19-30
  4. Installing WordPress

    • Michael Heap
    Pages 31-48
  5. Ansible Roles

    • Michael Heap
    Pages 49-62
  6. Parameterizing Playbooks

    • Michael Heap
    Pages 63-82
  7. Writing Your Own Modules

    • Michael Heap
    Pages 83-98
  8. Orchestrating AWS

    • Michael Heap
    Pages 99-124
  9. Testing with Test Kitchen

    • Michael Heap
    Pages 125-136
  10. Advanced Ansible

    • Michael Heap
    Pages 137-157
  11. Appendix A. Installing Ansible

    • Michael Heap
    Pages 159-162
  12. Appendix B. YAML Files

    • 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. In less than 250 pages, this book 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 automatically set up an environment, 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 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 can do as much or as little as you want it to. 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.


What You Will Learn
  • Learn why Ansible is so popular and how to download and install it
  • Create a playbook that automatically downloads and installs a popular open source project
  • 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


  • Who This Book Is For


    Developers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibilityand saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools. 


Authors and Affiliations

  • Reading, United Kingdom

    Michael Heap

About the author

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

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access