dellemc.openmanage.redfish_firmware – To perform a component firmware update using the image file available on the local or remote system¶
Note
This plugin is part of the dellemc.openmanage collection (version 3.2.0).
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.redfish_firmware
.
New in version 2.1.0: of dellemc.openmanage
Synopsis¶
This module allows the firmware update of only one component at a time. If the module is run for more than one component, an error message is returned.
Depending on the component, the firmware update is applied after an automatic or manual reboot.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7.5
urllib3
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
baseuri
string
/ required
|
IP address of the target out-of-band controller. For example- <ipaddress>:<port>.
|
|
image_uri
string
/ required
|
Firmware Image location URI or local path.
For example- http://<web_address>/components.exe or /home/firmware_repo/component.exe.
|
|
password
string
/ required
|
Password of the target out-of-band controller.
|
|
transfer_protocol
string
|
|
Protocol used to transfer the firmware image file. Applicable for URI based update.
|
username
string
/ required
|
Username of the target out-of-band controller.
|
Notes¶
Note
Run this module from a system that has direct access to Redfish APIs.
This module does not support
check_mode
.
Examples¶
---
- name: Update the firmware from a single executable file available in a HTTP protocol
dellemc.openmanage.redfish_firmware:
baseuri: "192.168.0.1"
username: "user_name"
password: "user_password"
image_uri: "http://192.168.0.2/firmware_repo/component.exe"
transfer_protocol: "HTTP"
- name: Update the firmware from a single executable file available in a local path
dellemc.openmanage.redfish_firmware:
baseuri: "192.168.0.1"
username: "user_name"
password: "user_password"
image_uri: "/home/firmware_repo/component.exe"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Felix Stephen (@felixs88)