Ansible for Network Engineers · Ansible 2
Inventory and variables that scale: YAML inventory, group_vars, host_vars and precedence
Stop putting every value in the playbook. Group devices by site and by role in a YAML inventory, keep shared values in group_vars and exceptions in host_vars, and learn which value wins when the same variable is set in two places, so you can explain (and fix) why one router got the wrong setting.
37 min read9 chapters2 labs15 quiz7 scenarios15 interview Q&A
This module is part of the paid plans
The free Starter plan opens the first module of every path. Upgrade to unlock this module's lesson, labs, quiz and scenarios.
Your free Starter plan includes
- ✓First module of every path — lessons and quizzes
- ✓3 hands-on labs in total
- ✓Practice questions (up to 10 per set)
- ✓Build your own lab — 3 sessions a month, up to 4 devices
Inside this module
- Lab 1 · Sites, roles and variables
- Lab 2 · Ticket: the Bengaluru router gets the wrong values