Class: Ansible::Ruby::Modules::Junos_command
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_command
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_command.rb
Overview
Sends an arbitrary set of commands to an JUNOS node and returns the results read from the device. This module includes an argument that will cause the module to wait for a specific condition before returning or timing out if the condition is not met.
Instance Method Summary collapse
-
#commands ⇒ Array<String>, ...
The commands to send to the remote junos device over the configured provider.
-
#display ⇒ :text, ...
Encoding scheme to use when serializing output from the device.
-
#interval ⇒ Integer?
Configures the interval in seconds to wait between retries of the command.
-
#match ⇒ :any, ...
The I(match) argument is used in conjunction with the I(wait_for) argument to specify the match policy.
-
#retries ⇒ Integer?
Specifies the number of retries a command should be tried before it is considered failed.
-
#rpcs ⇒ String?
The C(rpcs) argument accepts a list of RPCs to be executed over a netconf session and the results from the RPC execution is return to the playbook via the modules results dictionary.
-
#wait_for ⇒ Array<String>, ...
Specifies what to evaluate from the output of the command and what conditionals to apply.
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
#commands ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 12 attribute :commands |
#display ⇒ :text, ...
36 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 36 attribute :display |
#interval ⇒ Integer?
32 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 32 attribute :interval |
#match ⇒ :any, ...
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 24 attribute :match |
#retries ⇒ Integer?
28 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 28 attribute :retries |
#rpcs ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 16 attribute :rpcs |
#wait_for ⇒ Array<String>, ...
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_command.rb', line 20 attribute :wait_for |