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 62. redfish_powerstate (continued)
Parameter Required Default Choices Comments
<I(baseuri)>/
redfish/v1/
Systems)
Examples
- name: Manage power state of the device
dellemc.openmanage.redfish_powerstate:
baseuri: "192.168.0.1"
username: "username"
pasword: "password"
reset_type: "On"
- name: Manage power state of a specified device
dellemc.openmanage.redfish_powerstate:
baseuri: "192.168.0.1"
username: "username"
password: "password"
reset_type: "ForceOff"
resource_id: "System.Embedded.1"
Return values
msg:
description: Overall status of the reset operation
returned: always
type: str
sample: "Successfully applied the reset type: 'On'."
error_info:
type: dict
description: Details of a the HTTP error.
returned: on http error
sample: {
"error": {
"@Message.ExtendedInfo": [
{
"Message": "Unable to complete the operation because the resource
/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset
entered in is
not found.",
"MessageArgs": [
"/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset"
],
"MessageArgs@odata.count": 1,
"MessageId": "IDRAC.2.1.SYS403",
"RelatedProperties": [],
"RelatedProperties@odata.count": 0,
"Resolution": "Enter the correct resource and retry the operation.
For information about valid resource,
see the Redfish Users Guide available on the support site.",
"Severity": "Critical"
},
],
"code": "Base.1.5.GeneralError",
"message": "A general generic error has occurred. See ExtendedInfo for more
information"
}
}
'''
180
Modules for Redfish APIs