community.general.ilo_redfish_command module – Manages Out-Of-Band controllers using Redfish APIs
Note
This module is part of the community.general collection (version 9.5.1).
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 community.general
.
To use it in a playbook, specify: community.general.ilo_redfish_command
.
New in community.general 6.6.0
Synopsis
Builds Redfish URIs locally and sends them to remote OOB controllers to perform an action.
Parameters
Parameter |
Comments |
---|---|
Security token for authenticating to iLO. |
|
Base URI of OOB controller. |
|
Category to execute on OOB controller. Choices:
|
|
List of commands to execute on OOB controller. |
|
Password for authenticating to iLO. |
|
Timeout in seconds for HTTP requests to iLO. Default: |
|
Username for authenticating to iLO. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: Wait for iLO Reboot Completion
community.general.ilo_redfish_command:
category: Systems
command: WaitforiLORebootCompletion
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Returns the status of the operation performed on the iLO. Returned: always |
|
Returns the output msg and whether the function executed successfully. Returned: success |
|
Status of the operation performed on the iLO. Returned: success |
|
Return True/False based on whether the operation was performed successfully. Returned: success |