Users Guide

Table 39. Return Values
Name Description Returned Type Sample
System
Inventory
Displays the PowerEdge Server
System Inventory
Success String
https://github.com/dell/Dell-EMC-Ansible-Modules-
for-iDRAC/blob/master/samples/
dellemc_get_system_inventory.md
Example
-name: Get System Inventory
dellemc_get_system_inventory:
idrac_ip: "xx.xx.xx.xx"
idrac_user: "xxxx"
idrac_password:"xxxxxxxx"
Server administration tasks
This section describes the tasks that you can run using OpenManage Ansible Modules. Following are the tasks:
Configure the power state on the PowerEdge servers
Reset iDRAC
View LC job status
Export LC logs
Delete LC job
Delete LC job queue
Configure System Lockdown Mode
Configure the power state on the PowerEdge servers
Module: dellemc_change_power_state
Synopsis
This module configures the power control options on a PowerEdge server. You can run this module:
To turn on the server.
To turn off the server.
To reboot the server.
For hard reset of the server.
Check_mode support: Yes
Options
Table 40. dellemc_change_power_state
Parameter/aliases Required Default Choices Comments
idrac_ip Yes NA NA iDRAC IP Address
idrac_user Yes NA NA iDRAC username
idrac_password/
idrac_pwd
Yes NA NA iDRAC user password
idrac_port No 443 NA iDRAC port
change_power Yes NA
On
ForceOff
GracefulRestart
GracefulShutdown
PushPowerButton
Nmi
Desired power state
46 Modules for iDRAC