Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Network Automation Cookbook
  • Table Of Contents Toc
Network Automation Cookbook

Network Automation Cookbook - Second Edition

By : Christian Adell, Jeffrey Kala, Karim Okasha
close
close
Network Automation Cookbook

Network Automation Cookbook

By: Christian Adell, Jeffrey Kala, Karim Okasha

Overview of this book

Network Automation Cookbook, now in its second edition, is your essential guide to building robust network automation workflows across modern hybrid infrastructures. Building on the foundation laid in the first edition, this version dives deeper into Ansible’s role in automating network infrastructure, expanding coverage to include modern use cases across enterprise and cloud networks. The book introduces Ansible’s core concepts, such as playbooks, inventories, variables, loops, and templates, and progresses to advanced topics such as parallelism, fact caching, custom filters, and modular design. You will automate real-world scenarios using Nokia SR, Cisco IOS, Juniper, and Arista devices in a fully reproducible virtual lab. The chapters also help you explore cloud automation for AWS, Azure, and Google Cloud, and integrate validation tools such as PyATS, Batfish, and Nautobot. New chapters cover event-driven automation, AWX for workflow execution, and Terraform integration. By using hands-on labs and fully reproducible recipes, you can practice real-world scenarios and reinforce your skills. By the end of this book, you’ll be well-equipped with the tools and workflows to automate infrastructure efficiently with Ansible.
Table of Contents (23 chapters)
close
close
Lock Free Chapter
1
Part 1: Getting Started with Ansible
chevron up
5
Part 2: Managing Network Infrastructure with Ansible
10
Part 3: Managing Cloud Networking with Ansible
14
Part 4: Integrating Ansible
20
Index
21
Other Books You May Enjoy

Getting Started with Ansible

The first part of the book lays the groundwork for everything that follows by introducing Ansible as a powerful and flexible automation tool, not just for networking but for infrastructure and systems in general.

You’ll start by understanding what makes Ansible different, how it fits into modern automation workflows, and why its simplicity, readability, and agentless architecture have made it a widely adopted solution across IT teams.

We will then dive into the core building blocks of Ansible: inventories, variables, playbooks, templates, and Ansible Vault for secrets management. You’ll also learn about key concepts such as conditionals, loops, and Jinja2 templating, which are critical tools for building dynamic, reusable automation.

Finally, we will explore more advanced features that enable production-grade usage: roles and collections for modularity, execution strategies for performance, and techniques for extending Ansible with custom filters and plugins.

Whether you’re new to Ansible or looking to reinforce your fundamentals, this part provides the essential skills and understanding needed to confidently automate complex environments before applying those skills to real-world network automation in the chapters ahead.

This part of the book includes the following chapters:

  • Chapter 1, Why Ansible for Network Automation?
  • Chapter 2, Building Blocks of Ansible
  • Chapter 3, Advanced Ansible Concepts
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Network Automation Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon