Users Guide
With OpenManage Ansible Modules, you can construct a playbook with a set of modules resulting in an automation workow for
conguration, deployments, and updates of PowerEdge and modular servers.
To view the list of all available OME modules:
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 50. 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 specied
devices.
• C(subsystem_health)
returns the health status
of specied devices.
system_query_options No NA
• device_id: A list of unique identier 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 specied inventory
type.
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.
52 Modules for OpenManage Enterprise (OME)