Class: Ansible::Ruby::Modules::Junos_package

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#forceBoolean?

Returns The O(force) argument instructs the module to bypass the package version check and install the packaged identified in O(src) on the remote device.

Returns:

  • (Boolean, nil)

    The O(force) argument instructs the module to bypass the package version check and install the packaged identified in O(src) on the remote device.



25
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 25

attribute :force

#no_copyBoolean?

Returns The O(no_copy) arugment is responsible for instructing the remote device on where to isntall the package from. When enabled, the package is transferred to the remote device prior to installing.

Returns:

  • (Boolean, nil)

    The O(no_copy) arugment is responsible for instructing the remote device on where to isntall the package from. When enabled, the package is transferred to the remote device prior to installing.



21
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 21

attribute :no_copy

#rebootBoolean

Returns In order for a package to take effect, the remote device must be restarted. When enabled, this argument will instruct the module to reboot the device once the updated package has been installed. If disabled or the remote package does not need to be changed, the device will not be started.

Returns:

  • (Boolean)

    In order for a package to take effect, the remote device must be restarted. When enabled, this argument will instruct the module to reboot the device once the updated package has been installed. If disabled or the remote package does not need to be changed, the device will not be started.



17
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 17

attribute :reboot

#srcString

Returns The O(src) argument specifies the path to the source package to be installed on the remote device in the advent of a version mismatch. The O(src) argument can be either a localized path or a full path to the package file to install.

Returns:

  • (String)

    The O(src) argument specifies the path to the source package to be installed on the remote device in the advent of a version mismatch. The O(src) argument can be either a localized path or a full path to the package file to install



10
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 10

attribute :src

#versionObject?

Returns The O(version) argument can be used to explicitly specify the version of the package that should be installed on the remote device. If the O(version) argument is not specified, then the version is extracts from the O(src) filename.

Returns:

  • (Object, nil)

    The O(version) argument can be used to explicitly specify the version of the package that should be installed on the remote device. If the O(version) argument is not specified, then the version is extracts from the O(src) filename



14
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 14

attribute :version