dellemc.openmanage.ome_inventory inventory – Group inventory plugin on OpenManage Enterprise.
Note
This inventory plugin is part of the dellemc.openmanage collection (version 7.6.1).
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 |
---|---|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
To include group variables in the inventory source. |
|
To include host related variables in the inventory source. |
|
OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname. If the value is not specified in the task, the value of environment variable Configuration:
|
|
Group name. |
|
OpenManage Enterprise or OpenManage Enterprise Modular password. If the value is not specified in the task, the value of environment variable Configuration:
|
|
OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port. If the value is not specified in the task, the value of environment variable Default: |
|
The socket level timeout in seconds. Default: |
|
OpenManage Enterprise or OpenManage Enterprise Modular username. If the value is not specified in the task, the value of environment variable Configuration:
|
|
If Configure Prior to collection version Choices:
|
Notes
Note
Run this plugin on a system that has direct access to Dell OpenManage Enterprise.
Examples
---
# To retrieve all the groups host details.
plugin: dellemc.openmanage.ome_inventory
hostname: "192.168.0.1"
username: username
password: password
# To retrieve specific group host details.
plugin: dellemc.openmanage.ome_inventory
hostname: "192.168.0.1"
username: username
password: password
ome_group_name: group_name
# To set host variables to specific group host.
plugin: dellemc.openmanage.ome_inventory
hostname: "192.168.0.1"
username: username
password: password
ome_group_name: group_name
host_vars:
idrac_user: username
idrac_password: password
# To set host variables and multiple group variables.
plugin: dellemc.openmanage.ome_inventory
hostname: "192.168.0.1"
username: username
password: password
host_vars:
idrac_user: username
idrac_password: password
group_vars:
group_name:
attribute: value
group_name_one:
new_attribute: new_value