cisco / cisco.nxos / 7.0.0 / module / nxos_rpm Install patch or feature rpms on Cisco NX-OS devices. | "added in version" 1.0.0 of cisco.nxos" Authors: Sai Chintalapudi (@saichint)cisco.nxos.nxos_rpm (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Install software maintenance upgrade (smu) RPMS and 3rd party RPMS on Cisco NX-OS devices.
- cisco.nxos.nxos_rpm: pkg: nxos.sample-n9k_ALL-1.0.0-7.0.3.I7.3.lib32_n9000.rpm
pkg: description: - Name of the RPM package. type: str state: choices: - present - absent default: present description: - If the state is present, the rpm will be installed, If the state is absent, it will be removed. type: str aggregate: description: - List of RPM/patch definitions. elements: dict suboptions: file_system: description: - The remote file system of the device. If omitted, devices that support a file_system parameter will use their default values. type: str pkg: description: - Name of the RPM package. required: true type: str state: choices: - present - absent description: - If the state is present, the rpm will be installed, If the state is absent, it will be removed. type: str type: list file_system: default: bootflash description: - The remote file system of the device. If omitted, devices that support a file_system parameter will use their default values. type: str
commands: description: commands sent to the device returned: always sample: - install add bootflash:nxos.sample-n9k_ALL-1.0.0-7.0.3.I7.3.lib32_n9000.rpm forced - install activate nxos.sample-n9k_ALL-1.0.0-7.0.3.I7.3.lib32_n9000 forced - install commit nxos.sample-n9k_ALL-1.0.0-7.0.3.I7.3.lib32_n9000 type: list