u/Creative-Sell-4339

▲ 33 r/ansible

Netbox + Ansible (netdevops projecy)

Hii everyone , hope u're doing well

I'm using NetBox as a source of truth and Ansible + Jinja2 templates to generate and push configs to devices.

My lab is a small multi-vendor VXLAN EVPN fabric (spine-leaf topology), mainly mixing Nokia SR Linux and Arista devices.

What I’m trying to figure out is:

* How you define everything cleanly in NetBox, or partially in Ansible vars? (VRFs, VNIs, VLANs, loopbacks, VTEPs, etc.)

* How do you usually structure your Ansible project in this case? (mean tamplates , roles , playbooks ,inventory)

* roles per feature (interfaces, routing, evpn, etc.)?

* or per device/vendor?

* How do you handle multi-vendor differences in templates without making things messy?

Right now I feel like I understand the concepts, but I’m not sure what a “clean and scalable” structure looks like in practice.

Any advice, examples, or even repo references would really help

reddit.com
u/Creative-Sell-4339 — 6 days ago