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
Options
Table 40. ome_power_state
Parameter Require
d
Default Choices Comments
hostname Yes NA NA Target IP Address or hostname
username Yes NA NA Target username
password Yes NA NA Target user password
port No 443 NA Target device HTTPS port
power_state Yes NA
● on
● off
● coldboot
● warmboot
● shutdown
Desired end power state
device_id No NA NA
Targeted device id.
NOTE: I(device_id) is mutually exclusive with
I(device_service_tag).
device_service_t
ag
No NA NA
Targeted device service tag.
NOTE: I(device_service_tag) is mutually exclusive with
I(device_id).
Return Values
msg:
type: str
description: "Overall power state operation job status."
returned: always
sample: "Power State operation job submitted successfully."
job_status:
type: dict
description: "Power state operation job and progress details from the OME."
returned: success
sample: {
"Builtin": false,
"CreatedBy": "user",
"Editable": true,
"EndTime": null,
"Id": 11111,
"JobDescription": "DeviceAction_Task",
"JobName": "DeviceAction_Task_PowerState",
"JobStatus": {
"Id": 1111,
"Name": "New"
},
"JobType": {
"Id": 1,
"Internal": false,
"Name": "DeviceAction_Task"
},
"LastRun": "2019-04-01 06:39:02.69",
"LastRunStatus": {
"Id": 1112,
"Name": "Running"
},
"NextRun": null,
"Params": [
{
"JobId": 11111,
"Key": "powerState",
"Value": "2"
},
{
"JobId": 11111,
Modules for OpenManage Enterprise (OME)
103