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/core/network/junos/junos_package.rb
Instance Method Summary collapse
-
#force ⇒ Boolean?
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.
-
#no_copy ⇒ Boolean?
The O(no_copy) arugment is responsible for instructing the remote device on where to isntall the package from.
-
#reboot ⇒ Boolean
In order for a package to take effect, the remote device must be restarted.
-
#src ⇒ 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.
-
#version ⇒ Object?
The O(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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ Boolean?
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.
25 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 25 attribute :force |
#no_copy ⇒ Boolean?
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.
21 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 21 attribute :no_copy |
#reboot ⇒ Boolean
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.
17 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 17 attribute :reboot |
#src ⇒ String
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.
10 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 10 attribute :src |
#version ⇒ Object?
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.
14 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_package.rb', line 14 attribute :version |