Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 2.0.1 User’s Guide
- Overview
- Getting Started
- Modules for iDRAC
- Modules for OpenManage Enterprise (OME)
- Troubleshooting
- Accessing documents from the Dell EMC support site
username: "{{ ome_username }}"
password: "{{ ome_password }}"
system_query_options:
filter: "Type eq 1000"
4. Now run the playbook. Run the following command from the directory where you created the inventory and the playbook:
ansible-playbook playbook.yml -i inventory
5. Press Enter.
With OpenManage Ansible Modules, you can construct a playbook with a set of modules resulting in an automation workflow for
configuration, 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 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_inventor
y
● basic_inventory
● detailed_inventory
● subsystem_health
● C(basic_inventory)
returns the list of the
devices.
● C(detailed_inventory)
returns the inventory
details of specified
devices.
● C(subsystem_health)
returns the health
status of specified
devices.
system_query_options No NA
● device_id: A list of unique identifier is
applicable for C(detailed_inventory) and
C(subsystem_health).
I(system_query_options)
is applicable for
the choices of
the fact_subset.
Modules for OpenManage Enterprise (OME) 51