Class: Ansible::Ruby::Modules::Ios_command

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

Overview

Sends arbitrary commands to an ios 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. This module does not support running commands in configuration mode. Please use M(ios_config) to configure IOS devices.

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

#commandsArray<String>, String



13
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_command.rb', line 13

attribute :commands

#intervalInteger?



29
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_command.rb', line 29

attribute :interval

#match:any, ...



21
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_command.rb', line 21

attribute :match

#retriesInteger?



25
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_command.rb', line 25

attribute :retries

#wait_forArray<String>, ...



17
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_command.rb', line 17

attribute :wait_for