|
|
|
@ -18,7 +18,7 @@ description:
|
|
|
|
- Executes a low-down and dirty telnet command, not going through the module subsystem.
|
|
|
|
- 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.
|
|
|
|
- This is mostly to be used for enabling ssh on devices that only have telnet enabled by default.
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
commands:
|
|
|
|
command:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- List of commands to be executed in the telnet session.
|
|
|
|
- List of commands to be executed in the telnet session.
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
@ -67,7 +67,7 @@ EXAMPLES = '''
|
|
|
|
login_prompt: "Username: "
|
|
|
|
login_prompt: "Username: "
|
|
|
|
prompts:
|
|
|
|
prompts:
|
|
|
|
- "[>|#]"
|
|
|
|
- "[>|#]"
|
|
|
|
commands:
|
|
|
|
command:
|
|
|
|
- terminal length 0
|
|
|
|
- terminal length 0
|
|
|
|
- configure terminal
|
|
|
|
- configure terminal
|
|
|
|
- hostname ios01
|
|
|
|
- hostname ios01
|
|
|
|
@ -79,8 +79,9 @@ EXAMPLES = '''
|
|
|
|
login_prompt: "Username: "
|
|
|
|
login_prompt: "Username: "
|
|
|
|
prompts:
|
|
|
|
prompts:
|
|
|
|
- "[>|#]"
|
|
|
|
- "[>|#]"
|
|
|
|
commands:
|
|
|
|
command:
|
|
|
|
- terminal length 0
|
|
|
|
- terminal length 0
|
|
|
|
|
|
|
|
- show version
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
RETURN = '''
|
|
|
|
RETURN = '''
|
|
|
|
|