Users Guide

Congure the power state on the PowerEdge servers
Module: dellemc_change_power_state
Synopsis
This module congures the power control options on a PowerEdge server. You can run this module:
To turn on the server.
To turn o the server.
To reboot the server.
For hard reset of the server.
Check_mode support: Yes
Options
Table 36. dellemc_change_power_state
Parameter Required Default Choices Comments
idrac_ip Yes NA NA iDRAC IP Address
idrac_user Yes NA NA iDRAC username
idrac_pwd Yes NA NA iDRAC user password
idrac_port No 443 NA iDRAC port
change_power Yes NA
On
ForceO
GracefulRestart
GracefulShutdown
PushPowerButton
Nmi
Desired power state
Table 37. Return Values
Name Description Returned Type Sample
Power state of a
server
Congures the power control
options on a PowerEdge
server
Success String
https://github.com/dell/Dell-EMC-Ansible-
Modules-for-iDRAC/blob/master/samples/
dellemc_change_power_state.md
Example
-name: Change Power State
dellemc_change_power_state:
idrac_ip: "xx.xx.xx.xx"
idrac_user: "xxxx"
idrac_pwd: "xxxxxxxx"
change_power: "xxxxxxx"
Reset iDRAC
Module: dellemc_idrac_reset
44
Modules for iDRAC