Mastering Ansible - Second Edition

Master the ins and outs of advanced operations with Ansible
Preview in Mapt

Mastering Ansible - Second Edition

Jesse Keating

1 customer reviews
Master the ins and outs of advanced operations with Ansible
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mastering Ansible - Second Edition Book Cover
Mastering Ansible - Second Edition
$ 35.99
$ 25.20
Mastering vRealize Operations Manager - Second Edition Book Cover
Mastering vRealize Operations Manager - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781787125681
Paperback310 pages

Book Description

This book provides you with the knowledge you need to understand how Ansible 2.1 works at a fundamental level and leverage its advanced capabilities. You'll learn how to encrypt Ansible content at rest and decrypt data at runtime. You will master the advanced features and capabilities required to tackle the complex automation challenges of today and beyond.

You will gain detailed knowledge of Ansible workflows, explore use cases for advanced features, craft well thought out orchestrations, troubleshoot unexpected behaviour, and extend Ansible through customizations. Finally, you will discover the methods used to examine and debug Ansible operations, helping you to understand and resolve issues.

By the end of the book, the readers will be able to unlock the true power of the Ansible automation engine and will tackle complex real world actions with ease.

Table of Contents

Chapter 1: System Architecture and Design of Ansible
Ansible version and configuration
Inventory parsing and data sources
Playbook parsing
Module transport and execution
Variable types and location
Accessing external data
Variable precedence
Summary
Chapter 2: Protecting Your Secrets with Ansible
Encrypting data at rest
Protecting secrets while operating
Summary
Chapter 3: Unlocking the Power of Jinja2 Templates
Control structures
Data manipulation
Comparing values
Summary
Chapter 4: Controlling Task Conditions
Defining a failure
Defining a change
Error recovery
Summary
Chapter 5: Composing Reusable Ansible Content with Roles
Task, handler, variable, and playbook include concepts
Roles
Summary
Chapter 6: Minimizing Downtime with Rolling Deployments
In-place upgrades
Expanding and contracting
Failing fast
Minimizing disruptions
Serializing single tasks
Summary
Chapter 7: Troubleshooting Ansible
Playbook logging and verbosity
Variable introspection
Debugging code execution
Summary
Chapter 8: Extending Ansible
Developing modules
Developing plugins
Developing dynamic inventory plugins
Contributing to the Ansible project
Summary
Chapter 9: Infrastructure Provisioning
Managing cloud infrastructure
Interacting with Docker containers
Previewing of Ansible container
Summary

What You Will Learn

  • Gain an in-depth understanding of how Ansible works under the covers
  • Fully automate the Ansible playbook executions with encrypted data
  • Access and manipulate variable data within playbooks
  • Use Blocks to construct failure recovery or cleanup
  • Explore the Playbook debugger and Ansible Console
  • Troubleshoot unexpected behavior effectively
  • Work with cloud infrastructure providers and container systems
  • Develop custom modules, plugins, and dynamic inventory sources

Authors

Table of Contents

Chapter 1: System Architecture and Design of Ansible
Ansible version and configuration
Inventory parsing and data sources
Playbook parsing
Module transport and execution
Variable types and location
Accessing external data
Variable precedence
Summary
Chapter 2: Protecting Your Secrets with Ansible
Encrypting data at rest
Protecting secrets while operating
Summary
Chapter 3: Unlocking the Power of Jinja2 Templates
Control structures
Data manipulation
Comparing values
Summary
Chapter 4: Controlling Task Conditions
Defining a failure
Defining a change
Error recovery
Summary
Chapter 5: Composing Reusable Ansible Content with Roles
Task, handler, variable, and playbook include concepts
Roles
Summary
Chapter 6: Minimizing Downtime with Rolling Deployments
In-place upgrades
Expanding and contracting
Failing fast
Minimizing disruptions
Serializing single tasks
Summary
Chapter 7: Troubleshooting Ansible
Playbook logging and verbosity
Variable introspection
Debugging code execution
Summary
Chapter 8: Extending Ansible
Developing modules
Developing plugins
Developing dynamic inventory plugins
Contributing to the Ansible project
Summary
Chapter 9: Infrastructure Provisioning
Managing cloud infrastructure
Interacting with Docker containers
Previewing of Ansible container
Summary

Book Details

ISBN 139781787125681
Paperback310 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Docker - Second Edition Book Cover
Mastering Docker - Second Edition
$ 39.99
$ 28.00
DevOps: Puppet, Docker, and Kubernetes Book Cover
DevOps: Puppet, Docker, and Kubernetes
$ 79.99
$ 56.00
Linux: Powerful Server Administration Book Cover
Linux: Powerful Server Administration
$ 79.99
$ 56.00
Getting Started with Kubernetes - Second Edition Book Cover
Getting Started with Kubernetes - Second Edition
$ 35.99
$ 25.20
AWS Administration Cookbook Book Cover
AWS Administration Cookbook
$ 35.99
$ 25.20
The DevOps 2.1 Toolkit: Docker Swarm Book Cover
The DevOps 2.1 Toolkit: Docker Swarm
$ 39.99
$ 28.00