Embracing Infrastructure as Code with Nautobot, Git, and Ansible
In the previous chapter, you learned a bit about the Nautobot Ansible collection. This chapter builds on that and dives into using Ansible with Nautobot even more. We’ll populate data using Ansible, use the GraphQL dynamic inventory by walking through real use cases, and look at how to integrate Nautobot with Ansible playbooks that do network automation. We’ll walk through a multi-vendor network, its inventory, and how to get systems set up, and ultimately deploy and configure interfaces, IP addresses, and BGP across Cisco IOS and NXOS, Arista EOS, and Juniper Junos networks.
The following are the main topics covered in this chapter:
- Setting up the environment
- Adding data to Nautobot with Ansible
- Setting up a dynamic inventory
- Backing up network devices
- Performing a config replace with Nautobot, NAPALM, and Ansible on Arista and Juniper devices
- Performing config changes with...