Inventory Template
The inventory template is designed to generate bulk inventory instances (such as host groups). All contents in the Inventory Instance text field will be saved to an inventory file and run by the ansible-playbook command.
The inventory template can be defined by using customized variables provided by NetBrain. For example, a variable can be defined as: interface = $interface. _visible_ interface, and $interface._visible_interface is the variable provided by NetBrain.
All contents in the Inventory Instance text field will be saved to an inventory file and run by the ansible-playbook command.
Define an inventory template in the text field and click Generate Inventory. Multiple hosts will be generated in the Inventory Instance field accordingly. After the inventory instance is generated, users can still modify the parameters in the Inventory Instance editor based on their specific project needs.
Two types of inventory templates and their corresponding inventory instances are provided as follows: