New in version 2.9.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
clear_logs boolean |
| Clear logs on the device after update. Default value is true |
disk_fw string | disk firmware to be updated to. | |
firmware_type string |
| Type of firmware to be upgraded. Options include shelf, ACP, service-processor, and disk. For shelf firmware upgrade the operation is asynchronous, and therefore returns no errors that might occur during the download process. Shelf firmware upgrade is idempotent if shelf_module_fw is provided . disk firmware upgrade is idempotent if disk_fw is provided . With check mode, SP, ACP, disk, and shelf firmware upgrade is not idempotent. This operation will only update firmware on shelves/disk that do not have the latest firmware-revision. |
hostname string / required | The hostname or IP address of the ONTAP instance. | |
http_port integer | Override the default port (80 or 443) with this port | |
https boolean |
| Enable and disable https |
install_baseline_image boolean |
| Install the version packaged with ONTAP if this parameter is set to true. Otherwise, package must be used to specify the package to install. |
node string / required | Node on which the device is located. | |
ontapi integer | The ontap api version to use | |
package string | Name of the package file containing the firmware to be installed. Not required when -baseline is true. | |
password string / required | Password for the specified user. aliases: pass | |
shelf_module_fw string | Shelf module firmware to be updated to. | |
state string | Default: "present" | Whether the specified ONTAP firmware should be upgraded or not. |
update_type string | Type of firmware update to be performed. Options include serial_full, serial_differential, network_full. | |
use_rest string |
| REST API if supported by the target system for all the resources and attributes the module requires. Otherwise will revert to ZAPI. Always -- will always use the REST API Never -- will always use the ZAPI Auto -- will try to use the REST Api |
username string / required | This can be a Cluster-scoped or SVM-scoped account, depending on whether a Cluster-level or SVM-level API is required. For more information, please read the documentation https://mysupport.netapp.com/NOW/download/software/nmsdk/9.4/. aliases: user | |
validate_certs boolean |
| If set to no , the SSL certificates will not be validated.This should only set to False used on personally controlled sites using self-signed certificates. |
Note
- name: SP firmware upgrade na_ontap_firmware_upgrade: state: present node: vsim1 package: "{{ file name }}" clear_logs: True install_baseline_image: False update_type: serial_full firmware_type: service-processor hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" - name: ACP firmware upgrade na_ontap_firmware_upgrade: state: present node: vsim1 firmware_type: acp hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" - name: shelf firmware upgrade na_ontap_firmware_upgrade: state: present firmware_type: shelf shelf_module_fw: 1221 hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" - name: disk firmware upgrade na_ontap_firmware_upgrade: state: present firmware_type: disk disk_fw: NA02 hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/na_ontap_firmware_upgrade_module.html