Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 2.0.1 User’s Guide
- Overview
- Getting Started
- Modules for iDRAC
- Modules for OpenManage Enterprise (OME)
- Troubleshooting
- Accessing documents from the Dell EMC support site
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 38. 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 39. Return Values
Name Description Returned Type Sample
Power state of a
server
Configures 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_password:"xxxxxxxx"
change_power: "xxxxxxx"
44
Modules for iDRAC