Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 3.0.0 User’s Guide
- Overview
- Getting Started
- Modules for iDRAC
- How OpenManage Ansible Modules work with iDRAC
- Running your first iDRAC Playbook
- Updating Firmware
- Configuring PowerEdge Servers
- Deploying operating system
- Server Inventory
- Server administration tasks
- Storage controller
- Modules for OpenManage Enterprise (OME)
- Modules for Redfish APIs
- Deprecated modules
- Deprecated iDRAC modules
- Install firmware
- View Lifecycle Controller status
- Export or Import Server Configuration Profile
- Configure time zone and NTP on iDRAC
- Configure iDRAC network
- Configure BIOS
- Configure iDRAC users
- Configure RAID
- Configure syslog
- Boot to a network ISO image
- Reset iDRAC
- View Lifecycle controller job status
- Export LC logs
- Delete LC job
- Delete LC job queue
- Deprecated OpenManage Enterprise (OME) modules
- Deprecated iDRAC modules
- Accessing documents from the Dell EMC support site
- hosts: PowerEdge
connection: local
gather_facts: False
tasks:
- name: Retrieve basic inventory of all devices.
ome_device_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
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 information
Module: ome_device_info
Synopsis
This module retrieves the list of devices in the inventory of OpenManage Enterprise along with the details of each device.
Options
Table 40. ome_device_info
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
Modules for OpenManage Enterprise (OME) 49