Class: Ansible::Ruby::Modules::Cnos_command

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

Overview

Sends arbitrary commands to an CNOS node and returns the results read from the device. The C(cnos_command) 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

Methods inherited from Base

#ansible_name, #to_h

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

#commandsObject



15
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 15

attribute :commands

#intervalInteger?



30
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 30

attribute :interval

#match:any, ...



22
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 22

attribute :match

#providerObject?



12
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 12

attribute :provider

#retriesInteger?



26
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 26

attribute :retries

#wait_forObject?



19
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_command.rb', line 19

attribute :wait_for