idrac_redfish_facts – Manages servers through iDRAC using Dell Redfish APIs¶
New in version 2.8.
Synopsis¶
Builds Redfish URIs locally and sends them to remote iDRAC controllers to get information back.
For use with Dell iDRAC operations that require Redfish OEM extensions
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
baseuri
-
/ required
|
Base URI of iDRAC controller
|
|
category
-
/ required
|
Category to execute on iDRAC controller
|
|
command
-
/ required
|
List of commands to execute on iDRAC controller
|
|
password
-
/ required
|
Password for authentication with iDRAC controller
|
|
timeout
integer
|
Default: 10
|
Timeout in seconds for URL requests to OOB controller
|
username
-
/ required
|
User for authentication with iDRAC controller
|
Examples¶
- name: Get Manager attributes with a default of 20 seconds
idrac_redfish_command:
category: Manager
command: GetManagerAttributes
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
timeout: 20
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
dictionary
|
always |
different results depending on task
Sample:
List of Manager attributes
|
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]