Users Guide

1 Run the following command on the Ansible control machine:
ansible-doc -l | grep "ome"
2 Press Enter.
List of the available OME modules is displayed.
To view the documentation of a module:
1 Run the following command on the Ansible control machine:
ansible-doc <module name>
2 Press Enter.
View device inventory
Module: dellemc_ome_device_facts
Synopsis
This module retrieves the list of all devices with the exhaustive inventory of each device discovered using OME.
Options
Table 52. dellemc_ome_device_facts
Parameter Required Default Choices Comments
hostname Yes NA NA
Target IP Address or
hostname
username Yes NA NA Target username
password Yes NA NA Target user password
port No 443 NA Target device HTTPS port
fact_subset No basic_inventory
basic_inventory
detailed_inventory
subsystem_health
C(basic_inventory)
returns the list of the
devices.
C(detailed_inventory)
returns the inventory
details of specied
devices.
C(subsystem_health)
returns the health status
of specied devices.
system_query_options No NA
device_id: A list of unique identier is
applicable for C(detailed_inventory) and
C(subsystem_health).
device_service_tag: A list of service tags are
applicable for C(detailed_inventory) and
C(subsystem_health).
inventory_type: For C(detailed_inventory), it
returns details of the specied inventory
type.
lter: For C(basic_inventory), it lters the
collection of devices. I(lter) query format
should be aligned with OData standards.
I(system_query_options) is
applicable for the choices of
the fact_subset. Either
I(device_id) or
I(device_service_tag) is
mandatory for
C(detailed_inventory) and
C(subsystem_health) or
both can be applicable.
Return Values
msg:
type: str
54
Modules for OpenManage Enterprise (OME)