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
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 27. 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 28. 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:
38
Modules for iDRAC