Class: Ansible::Ruby::Modules::Junos_package
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_package
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_package.rb
Overview
This module can install new and updated packages on remote devices running Junos. The module will compare the specified package with the one running on the remote device and install the specified version if there is a mismatch
Instance Method Summary collapse
-
#force ⇒ :yes, :no
The I(force) argument instructs the module to bypass the package version check and install the packaged identified in I(src) on the remote device.
-
#no_copy ⇒ :yes, ...
The I(no_copy) argument is responsible for instructing the remote device on where to install the package from.
-
#reboot ⇒ :yes, :no
In order for a package to take effect, the remote device must be restarted.
-
#src ⇒ String
The I(src) argument specifies the path to the source package to be installed on the remote device in the advent of a version mismatch.
-
#validate ⇒ :yes, ...
The I(validate) argument is responsible for instructing the remote device to skip checking the current device configuration compatibility with the package being installed.
-
#version ⇒ Object?
The I(version) argument can be used to explicitly specify the version of the package that should be installed on the remote device.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ :yes, :no
31 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 31 attribute :force |
#no_copy ⇒ :yes, ...
23 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 23 attribute :no_copy |
#reboot ⇒ :yes, :no
19 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 19 attribute :reboot |
#src ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 12 attribute :src |
#validate ⇒ :yes, ...
27 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 27 attribute :validate |
#version ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_package.rb', line 16 attribute :version |