arubanetworks / arubanetworks.aoscx / 4.3.2 / module / aoscx_upload_firmware Uploads a firmware image onto the AOS-CX switch. | "added in version" 2.8.0 of arubanetworks.aoscx" Authors: Aruba Networks (@ArubaNetworks) preview | supported by certifiedarubanetworks.aoscx.aoscx_upload_firmware (4.3.2) — module
Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2
collections: - name: arubanetworks.aoscx version: 4.3.2
This module uploads a firmware image onto the switch stored locally or it can also upload the firmware from an HTTP server.
- name: Upload firmware to primary through HTTP aoscx_upload_firmware: partition_name: primary remote_firmware_file_path: http://192.168.1.2:8000/TL_10_04_0030P.swi vrf: 'mgmt'
- name: Upload firmware to secondary through local aoscx_upload_firmware: partition_name: secondary firmware_file_path: /tftpboot/TL_10_04_0030A.swi
vrf: description: 'VRF to be used to contact HTTP server, required if remote_firmware_file_path is provided. ' required: false type: str partition_name: choices: - primary - secondary default: primary description: Name of the partition for the image to be uploaded. required: false type: str firmware_file_path: description: File name and path for locally uploading firmware image required: false type: str wait_firmware_upload: default: false description: 'If true, the result will be displayed after the firmware upload process is done. If false, the result must be checked on the switch by the user. ' required: false type: bool remote_firmware_file_path: description: 'HTTP server address and path for uploading firmware image, must be reachable through provided vrf. ' required: false type: str