Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 4.0.0 User’s Guide
- Contents
- 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)
- How OpenManage Ansible Modules work with OME
- Running your first OME Playbook
- Manage Devices
- Manage device configuration templates
- Template Service
- Manage the device firmware
- Manage jobs
- Manage users
- Manage identity pool
- Manage application settings
- Manage network configuration
- Manage fabrics
- Manage Profiles
- Device discovery
- Manage Chassis
- Manage Active Directory service and user groups
- Diagnostics
- Modules for Redfish APIs
- Deprecated modules
Table 17. 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
Table 18. Return Values
Name Description Returned Type Output
Power state of a
server
Configures the power
control options on a
PowerEdge server
Success String
https://github.com/dell/dellemc-
openmanage-ansible-modules/
tree/devel/output/idrac/
dellemc_change_power_state.md
Example
-name: Change Power State
dellemc_change_power_state:
idrac_ip: "xx.xx.xx.xx"
idrac_user: "xxxx"
idrac_password:"xxxxxxxx"
change_power: "xxxxxxx"
Reset iDRAC
Module: idrac_reset
Synopsis
● This module resets iDRAC.
● iDRAC is not accessible for some time after running this module. It is recommended to wait for some time, before trying to
connect to iDRAC.
Check_mode support: Yes
Options
Table 19. idrac_reset
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
Return Values
msg:
description: Status of the iDRAC reset operation.
Modules for iDRAC
45