ansible.builtin.nxos_smu (v2.9.0) — module

Perform SMUs on Cisco NX-OS devices.

| "added in version" 2.2 of ansible.builtin"

Authors: Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.0

Description

Perform software maintenance upgrades (SMUs) on Cisco NX-OS devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- nxos_smu:
    pkg: "nxos.CSCuz65185-n9k_EOR-1.0.0-7.0.3.I2.2d.lib32_n9000.rpm"

Inputs

    
pkg:
    description:
    - Name of the remote package.
    required: true

file_system:
    description:
    - The remote file system of the device. If omitted, devices that support a file_system
      parameter will use their default values.

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - install add bootflash:nxos.CSCuz65185-n9k_EOR-1.0.0-7.0.3.I2.2d.lib32_n9000.rpm
  - install activate bootflash:nxos.CSCuz65185-n9k_EOR-1.0.0-7.0.3.I2.2d.lib32_n9000.rpm
    force
  - install commit bootflash:nxos.CSCuz65185-n9k_EOR-1.0.0-7.0.3.I2.2d.lib32_n9000.rpm
  type: list