Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

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.
You can also use the INFOBLOX_HOST environment variable to specify a value.

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.
You can also use the INFOBLOX_HOST environment variable to specify a value

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.

provider

Required

Defines the details of the connection:

  • host: The DNS host name or IP address to connect to the remote instance of NIOS.

  • username: The user name to use for authenticating the connection to the remote instance.

  • password: The password to use for authenticating the connection to the remote instance.

For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic.

connection

Required

The nios_inventory module must be run locally.

Examples

plugin: infoblox.nios_modules.nios_inventory
host: blox.example.com
username: admin

  • No labels