dellemc.openmanage.ome_inventory inventory – Group inventory plugin on OpenManage Enterprise.

Note

This inventory plugin is part of the dellemc.openmanage collection (version 9.9.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install dellemc.openmanage. You need further requirements to be able to use this inventory plugin, see Requirements for details.

To use it in a playbook, specify: dellemc.openmanage.ome_inventory.

New in dellemc.openmanage 7.1.0

Synopsis

  • This plugin allows to retrieve inventory hosts from groups on OpenManage Enterprise.

Requirements

The below requirements are needed on the local controller node that executes this inventory.

  • python >= 3.9.6

Parameters

Parameter

Comments

ca_path

path

The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.

group_vars

dictionary

To include group variables in the inventory source.

host_vars

dictionary

To include host related variables in the inventory source.

hostname

string / required

OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname.

If the value is not specified in the task, the value of environment variable OME_HOSTNAME will be used instead.

Configuration:

ome_group_name

string

Group name.

password

string / required

OpenManage Enterprise or OpenManage Enterprise Modular password.

If the value is not specified in the task, the value of environment variable OME_PASSWORD will be used instead.

Configuration:

port

integer

OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port.

If the value is not specified in the task, the value of environment variable OME_PORT will be used instead.

Default: 443

timeout

integer

The socket level timeout in seconds.

Default: 30

username

string / required

OpenManage Enterprise or OpenManage Enterprise Modular username.

If the value is not specified in the task, the value of environment variable OME_USERNAME will be used instead.

Configuration:

validate_certs

boolean

If false, the SSL certificates will not be validated.

Configure false only on personally controlled sites where self-signed certificates are used.

Prior to collection version 5.0.0, the validate_certs is false by default.

Choices:

  • false

  • true ← (default)

Notes

Note

  • Run this plugin on a system that has direct access to Dell OpenManage Enterprise.

Authors

  • Felix Stephen (@felixs88)

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.