dellemc.openmanage.idrac_server_powerstate role – Role to manage the different power states of the specified device
Note
This role is part of the dellemc.openmanage collection (version 9.9.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.idrac_server_powerstate
.
Entry point main
– Role to manage the different power states of the specified device
New in dellemc.openmanage 7.4.0
Synopsis
Role to manage the different power states of the specified device using iDRACs (iDRAC8 and iDRAC9 only) for Dell PowerEdge servers.
Parameters
Parameter |
Comments |
---|---|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
iDRAC IP Address. |
|
iDRAC port. Default: |
|
The HTTPS socket level timeout in seconds. Default: |
|
This parameter initiates a complete Alternate Current (AC) power cycle of the server which is equivalent to disconnecting power cables using OEM API. oem_reset_type is mutually exclusive with reset_type. If the value of ‘final_power_state’ is not provided, the default value is ‘Off’. |
|
iDRAC user password. |
|
This option resets the device.
reset_type is mutually exclusive with oem_reset_type. When a power control operation is performed, which is not supported on the device, an error message is displayed with the list of operations that can be performed. Choices:
|
|
This option is the unique identifier of the device being managed. For example, https://<I(baseuri>/redfish/v1/Systems/<resource_id>). This option is mandatory for base_uri with multiple devices. To get the device details, use the API https://<I(baseuri>/redfish/v1/Systems) for reset_type operation and https://<I(baseuri>/redfish/v1/Chassis) for oem_reset_type operation. |
|
iDRAC username. |
|
If Configure Choices:
|