wti / wti.remote / 1.0.5 / module / cpm_firmware_update Set Serial port parameters in WTI OOB and PDU devices | "added in version" 2.9.0 of wti.remote" Authors: Western Telematic Inc. (@wtinetworkgear) preview | supported by communitywti.remote.cpm_firmware_update (1.0.5) — module
Install with ansible-galaxy collection install wti.remote:==1.0.5
collections: - name: wti.remote version: 1.0.5
Set Serial port parameters in WTI OOB and PDU devices
# Upgrade the firmware of a WTI device - name: Upgrade the firmware of a WTI device cpm_firmware_update: cpm_url: "nonexist.wti.com" cpm_username: "super" cpm_password: "super" use_https: true validate_certs: false
# Upgrade the firmware of a WTI device and keep the download OS image after exit - name: Upgrade the firmware of a WTI device and keep the download OS image after exit cpm_firmware_update: cpm_url: "nonexist.wti.com" cpm_username: "super" cpm_password: "super" use_https: true validate_certs: false removefileonexit: "0"
family: choices: - 0 - 1 default: 1 description: - Force the download to both either Console (1) or Power (0) required: false type: int cpm_url: description: - This is the URL of the WTI device to send the module. required: true type: str cpm_file: description: - If a file is defined, this file will be used to update the WTI device. required: false type: str cpm_path: default: /tmp/ description: - This is the directory path to store the WTI device configuration file. required: false type: str use_force: default: false description: - If set to True, the upgrade will happen even if the device doesnt need it. required: false type: bool use_https: default: true description: - Designates to use an https connection or http connection. required: false type: bool use_proxy: default: false description: Flag to control if the lookup will observe HTTP proxy environment variables when present. required: false type: bool cpm_password: description: - This is the Password of the WTI device to send the module. required: true type: str cpm_username: description: - This is the Username of the WTI device to send the module. required: true type: str validate_certs: default: true description: - If false, SSL certificates will not be validated. This should only be used - on personally controlled sites using self-signed certificates. required: false type: bool removefileonexit: choices: - 0 - 1 default: 1 description: - After an upgrade, remove the upgrade OS image required: false type: int
data: contains: filelength: description: Length of the file uploaded in bytes returned: success sample: - filelength: 329439 type: int status: description: List of status returns from backup operation returned: success sample: - code: 0 - text: ok - unittimestamp: '2020-02-14T00:18:57+00:00' type: list description: The output XML configuration of the WTI device being updated returned: always type: complex