Class: Ansible::Ruby::Modules::Telnet

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/commands/telnet.rb

Overview

Executes a low-down and dirty telnet command, not going through the module subsystem. This is mostly to be used for enabling ssh on devices that only have telnet enabled by default.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#commandArray<String>, String



13
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 13

attribute :command

#hostString?



17
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 17

attribute :host

#login_promptString?



41
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 41

attribute :login_prompt

#passwordString?



25
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 25

attribute :password

#password_promptString?



45
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 45

attribute :password_prompt

#pauseInteger?



49
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 49

attribute :pause

#portInteger?



29
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 29

attribute :port

#promptsString?



37
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 37

attribute :prompts

#send_newlineSymbol?



53
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 53

attribute :send_newline

#timeoutInteger?



33
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 33

attribute :timeout

#userString?



21
# File 'lib/ansible/ruby/modules/generated/commands/telnet.rb', line 21

attribute :user