Design, develop, and solve real-world automation and orchestration problems by unlocking Ansible's automation capabilities
Key Features
* Completely revised and updated for Ansible 4.0 and beyond
* Tackle complex automation challenges with the newly added features in Ansible
* Learn about the rapidly expanding field of network automation with Ansible, with practical examples for configuring network devices
Book Description
Ansible is a modern, YAML-based automation tool (built on top of Python, one of the world's most popular programming languages) with a massive and ever-growing user base. Its popularity and Python underpinnings make it essential learning for all in the DevOps space.
This fourth edition of Mastering Ansible provides complete coverage of Ansible automation, from the design and architecture of the tool (including all the changes that came with the release of Ansible 3.0) and basic automation with playbooks to writing and debugging your own Python-based extensions
You'll learn how to build automation workflows with Ansible's extensive built-in library of collections, modules, and plugins. You'll then look at extending the modules and plugins with Python-based code and even build your own collections - ultimately learning how to give back to the Ansible community.
By the end of this Ansible book, you'll be confident in all aspects of Ansible automation, from the fundamentals of playbook design to getting under the hood and extending and adapting Ansible to solve new automation challenges.
What you will learn
* Gain an in-depth understanding of how Ansible works under the hood
* Get to grips with Ansible Collections and how they are changing and shaping the future of Ansible
* Fully automate the Ansible playbook executions with encrypted data
* 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
Who This Book Is For
If you are an Ansible developer or operator who has a detailed understanding of its core elements and applications but are now looking to enhance your skills in applying automation using Ansible, this book is for you. Prior experience working with core system administration tasks on Linux and basic familiarity with concepts such as cloud computing, containers, network devices, and fundamentals of a high-level programming language will help you make the most of this book.
Table of Contents
* System Architecture and Design of Ansible
* Migrating from Earlier Versions of Ansible
* Encrypting Ansible Data at Rest
* Ansible and Windows - Not just for Linux
* Infrastructure management for Enterprises with AWX
* Unlocking the Power of Jinja2 Templates
* Controlling Task Conditions
* Composing Reusable Ansible Content with Roles
* Troubleshooting Ansible
* Extending Ansible
* Infrastructure Provisioning
* Minimizing Downtime with Rolling Updates
* Network Automation
- ISBN13 9781801813075
- Publish Date 9 December 2021 (first published 27 August 2021)
- Publish Status Forthcoming
- Publish Country GB
- Imprint Packt Publishing Limited
- Edition 4th Revised edition
- Format eBook
- Pages 548
- Language English