From the course: NetOps (DevOps for Network Engineers): Automating Networks
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Network configuration backup with Ansible
From the course: NetOps (DevOps for Network Engineers): Automating Networks
Network configuration backup with Ansible
- [Instructor] If you recall a few sections ago, we used a Ansible playbook to backup configuration our stage devices. In this section let's, expand on that example to be a more realistic playbook, realistic inventory file, and build from there into a CI/CD pipeline as an example. So to begin with, we had this stage environment, but now I've also enabled our production environment. If you remember, the staging environment was basically just the left side of it, just the LAX. But in production, we actually have a few more devices or essentially, we have the NYC data center as well. It's a carbon copy of LAX. Same thing as in NX-OS for the core and iOS devices for the edge and running EBGB between them OSPF as our IGP. So, now we have two different environments we could go ahead and build our playbook to accommodate both the staging as well as the production environment. As such, we have two host file or two inventory file.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.