In this recipe, we will outline how to create sites in NetBox. Sites are a logical construct within NetBox that allow us to group our infrastructure based on their physical location. We need to define our sites before we can start declaring our devices and place them in these sites.
Populating sites in NetBox
Getting ready
Ensure integration between Ansible and NetBox is in place, as outlined in the previous recipe.
How to do it...
- Update the group_vars/all.yml file with the following data about our physical sites:
sites:
- name: DC1
description: "Main Data...