# idrac_firmware Update the Firmware by connecting to a network share (CIFS, NFS, HTTP, HTTPS, FTP) that contains a catalog of available updates. ## Requirements ### Development Requirements to develop and contribute to the role. ``` ansible docker molecule python omsdk ``` ### Production Requirements to use the role. ``` ansible python omsdk ``` ### 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 HTTPS socket level timeout in seconds. | |
| share_name | true | str | - Network share path of update repository. CIFS, NFS, HTTP, HTTPS and FTP share types are supported. | ||
| share_user | false | str | - Network share user in the format 'user@domain' or 'domain\\user' if user is part of a domain else 'user'. This option is mandatory for CIFS Network Share. | ||
| share_password | false | str | - Network share user password. This option is mandatory for CIFS Network Share. | ||
| catalog_file_name | false | Catalog.xml | str | - Catalog file name relative to the I(share_name | |
| ignore_cert_warning | false | true | bool | - Specifies if certificate warnings are ignored when HTTPS share is used.- If C(true) option is set, then the certificate warnings are ignored. | |
| apply_update | false | true | bool | - If I(apply_update) is set to C(true), then the packages are applied.- If I(apply_update) is set to C(false), no updates are applied, and a catalog report of packages is generated and returned. | |
| reboot | false | false | bool | - Provides the option to apply the update packages immediately or in the next reboot. - If I(reboot) is set to C(true), then the packages are applied immediately.- If I(reboot) is set to C(false), then the packages are staged and applied in the next reboot.- Packages that do not require a reboot are applied immediately irrespective of I (reboot). | |
| proxy_support | false | Off | "ParametersProxy", "DefaultProxy", "Off" | str | - Specifies if a proxy should be used.- Proxy parameters are applicable on C(HTTP), C(HTTPS), and C(FTP) share type of repositories. - C(ParametersProxy), sets the proxy parameters for the current firmware operation.- C(DefaultProxy), iDRAC uses the proxy values set by default.- Default Proxy can be set in the Lifecycle Controller attributes using M(dellemc.openmanage.idrac_attributes).- C(Off), will not use the proxy.- For iDRAC8 based servers, use proxy server with basic authentication.- For iDRAC9 based servers, ensure that you use digest authentication for the proxy server, basic authentication is not supported. |
| proxy_server | false | str | - The IP address of the proxy server.- This IP will not be validated. The download job will be created even for invalid I(proxy_server).- Please check the results of the job for error details.- This is required when I(proxy_support) is C(ParametersProxy). | ||
| proxy_port | false | int | - The Port for the proxy server.- This is required when I(proxy_support) is C(ParametersProxy). | ||
| proxy_type | false | HTTP, SOCKS | str | - The proxy type of the proxy server.- This is required when I(proxy_support) is C(ParametersProxy). | |
| proxy_uname | false | str | - The user name for the proxy server. | ||
| proxy_passwd | false | str | - The password for the proxy server. | ||
| job_wait | false | true | bool | - Whether to wait for job completion or not. |
| Name | Sample | Description |
|---|---|---|
| idrac_firmware_out | { msg: "Successfully updated the firmware." update_status: { 'InstanceID': 'JID_XXXXXXXXXXXX', 'JobState': 'Completed', 'Message': 'Job completed successfully.', 'MessageId': 'REDXXX', 'Name': 'Repository Update', 'JobStartTime': 'NA', 'Status': 'Success', } } | Returns the output of the firmware update status |