Class: Ansible::Ruby::Modules::Nxos_rpm

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/nxos/nxos_rpm.rb

Overview

Install software maintenance upgrade (smu) RPMS and 3rd party RPMS on Cisco NX-OS devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#aggregateObject?

Returns List of RPM/patch definitions.

Returns:

  • (Object, nil)

    List of RPM/patch definitions.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_rpm.rb', line 20

attribute :aggregate

#file_systemString?

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

Returns:

  • (String, nil)

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



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_rpm.rb', line 16

attribute :file_system

#pkgString

Returns Name of the RPM package.

Returns:

  • (String)

    Name of the RPM package.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_rpm.rb', line 12

attribute :pkg

#state:present, ...

Returns If the state is present, the rpm will be installed, If the state is absent, it will be removed.

Returns:

  • (:present, :absent, nil)

    If the state is present, the rpm will be installed, If the state is absent, it will be removed.



23
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_rpm.rb', line 23

attribute :state