diff --git a/lib/ansible/modules/commands/telnet.py b/lib/ansible/modules/commands/telnet.py index e356688c749..65842233faa 100644 --- a/lib/ansible/modules/commands/telnet.py +++ b/lib/ansible/modules/commands/telnet.py @@ -18,7 +18,7 @@ description: - 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. options: - commands: + command: description: - List of commands to be executed in the telnet session. required: True @@ -67,7 +67,7 @@ EXAMPLES = ''' login_prompt: "Username: " prompts: - "[>|#]" - commands: + command: - terminal length 0 - configure terminal - hostname ios01 @@ -79,8 +79,9 @@ EXAMPLES = ''' login_prompt: "Username: " prompts: - "[>|#]" - commands: + command: - terminal length 0 + - show version ''' RETURN = '''