Use the nios_inventory
plug-in to query the NIOS Grid for host records, and use the response data to populate the inventory file.
The following table describes the parameters you can define in the nios_inventory
module:
Parameter | Required/Optional | Description |
---|---|---|
host | Required | Specifies the DNS host name or address for connecting to the remote instance of NIOS WAPI over REST. |
username | Required | Specifies the user name to use for authenticating the connection to the remote instance of NIOS. You can also use the INFOBLOX_HOST environment variable to specify a value |
password | Required | Specifies the password to use for authenticating the connection to the remote instance of NIOS. |
hostfilter | Optional | Contains the key/value pair that the plug-in uses to filter the host records to be returned. |
extattrs | Optional | Allows you to filter the returned host records based on the extensible attributes assigned to them. |
| Required | Defines the details of the connection:
For information on additional fields you can define, see the list of subparameters. |
connection | Required | The nios_inventory module must be run locally. |
Examples
plugin: infoblox.nios_modules.nios_inventory
host: blox.example.com
username: admin