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
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

Advanced Ansible Concepts

As you continue to hone your skills on your way to becoming a power user of Ansible, it becomes increasingly important to know how to tune Ansible’s advanced settings to achieve advanced outcomes. In order to manage infrastructure at any scale, you must feel confident using different execution strategies. These strategies can dictate how many services/network devices are being touched at the same time, what configuration Ansible is going to change, and how to handle variations of syntax. All of these questions and more will be answered in this chapter.

The main recipes covered in this chapter are the following:

  • Using Ansible roles
  • Using Ansible collections
  • Running Ansible in check mode
  • Using advanced YAML syntax
  • Controlling execution strategies in Ansible
  • Configuring fact caching in Ansible
  • Creating custom Python filters for Ansible

This chapter builds on top of what you did in Chapter 2;...

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