-
Book Overview & Buying
-
Table Of Contents
Network Automation Cookbook - Second Edition
By :
So far in this book, you’ve explored how Ansible can automate network operations across various scenarios. However, Ansible is not the only tool available for managing infrastructure. Several other tools take different or complementary approaches, and one of the most widely used is Terraform (https://developer.hashicorp.com/terraform) by HashiCorp (now part of IBM). Unlike Ansible, which focuses on executing sequential tasks, Terraform defines the desired final state of a dynamic infrastructure (i.e., compute, networking, or storage that is provisioned on demand) and ensures it reaches that declarative state.
This chapter will examine approaches to combine Terraform and Ansible through practical examples. While it does not cover Terraform in depth, it will provide essential concepts to highlight the differences between Ansible and Terraform. If you need more details, more documentation is available, including network-related content...