# redfish_firmware To perform a component firmware update using the image file available on the local or remote system. ## Requirements --- ### Development Requirements to develop and contribute to the role. ``` ansible docker molecule python ``` ### Production Requirements to use the role. ``` ansible python ``` ## Ansible collections Collections required to use the role. ``` dellemc.openmanage ``` ## Role Variables ---
| Name | Required | Default Value | Choices | Type | Description |
|---|---|---|---|---|---|
| hostname | true | str | - iDRAC IP Address | ||
| username | true | str | - iDRAC username | ||
| password | true | str | - iDRAC user password. | ||
| https_port | false | 443 | int | - iDRAC port. | |
| validate_certs | false | true | bool | - If C(false), the SSL certificates will not be validated. - Configure C(false) only on personally controlled sites where self-signed certificates are used. |
|
| ca_path | false | path | - The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. | ||
| https_timeout | false | 30 | int | - The socket level timeout in seconds. | |
| image_uri | false | str | - Firmware Image location URI or local path.
- For example- U(http:// |
||
| transfer_protocol | false | HTTP | "CIFS", "FTP", "HTTP", "HTTPS", "NSF", "OEM", "SCP", "SFTP", "TFTP" | str | - Protocol used to transfer the firmware image file. Applicable for URI based update. |
| job_wait | false | true | str | - Provides the option to wait for job completion. | |
| job_wait_timeout | false | 3600 | str | - The maximum wait time of I(job_wait) in seconds. The job is tracked only for this duration.
- This option is applicable when I(job_wait) is C(True). |
| Name | Sample | Description |
|---|---|---|
| redfish_firmware_out | { msg: Successfully submitted the firmware update task. task: { "id": "JID_XXXXXXXXXXXX", "uri": "/redfish/v1/TaskService/Tasks/JID_XXXXXXXXXXXX" } } | Returns the output of the firmware update status. |