Automating the VXLAN EVPN Fabric with Ansible
· VXLAN· EVPN· Ansible· Automation
Second in the series. With the manual baseline established, this article covers rebuilding the same leaf-spine EVPN-VXLAN fabric using Ansible: role structure, inventory design for a fabric with distinct leaf and spine roles, and the NX-OS-specific modules used to push underlay, overlay, and VNI configuration idempotently.
Also covered: variable structure for per-device and per-role data, running the playbooks against the same NX-OS 9000v topology from the first article, and the early validation checks used to confirm the automated build matched the manual baseline.
Read the full walkthrough, with playbook and role structure, on Medium: