Network Full Configuration using ansible. ( 10 PLAYS )
- Play 1 includes 9 tasks to configure 2 distribution switches:
- VLANs
- SVIs
- ensure that SVIs are up
- DHCP
- Trunk interfaces
- VTP server
- HSRP
- OSPF on interfaces to core router
- OSPF on SVIs
- Play 2 includes 1 task to configure OSPF on first switch
- Play 3 includes 1 task to configure OSPF on second switch
- Play 4 includes 2 tasks to configure 4 access switches
- Trunk interfaces
- VTP client
- Play 5 & 6 & 7 & 8 to configure access interfaces to Vlans
- Play 9 includes 2 tasks to configure Core Router
- configure OSPF
- advertise OSPF on interfaces
- Play 10 to configure ASA Firewall
- configure OSPF
- configure default route
- advertise default route in OSPF
- configure 2 objects and NAT policy
the final result:
- all PCs are assigned to the particular Vlans and reserved IPs from DHCP
- OSPF routes advertised to ASA and Router
- Default route advertised to router and distribution switches
- NAT is working on ASA
- all PCs are able to reach internet