In the name of Allah the Merciful

Mastering Ansible: Automate configuration management and overcome deployment challenges with Ansible, 4th Edition

James Freeman and Jesse Keating, 1801818789, 978-1801818780, 9781801818780, B09H8PHDG5

English | 2021 | PDF | 32 MB | 540 Pages

number
type
  • {{value}}
wait a little

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 using Ansible, with the help of 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 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

1. System Architecture and Design of Ansible

2. Migrating from Earlier Ansible Versions

3. Protecting Your Secrets with Ansible

4. Ansible and Windows - Not just for Linux

5. Infrastructure management for Enterprises with AWX

6. Unlocking the Power of Jinja2 Templates

7. Controlling Task Conditions

8. Composing Reusable Ansible Content with Roles

9. Troubleshooting Ansible

10. Extending Ansible

11. Minimizing Downtime with Rolling Deployments

12. Infrastructure Provisioning

13. Network Automation