From 6d3307e472437f1cd116b8858cf67af5cbfe7a74 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 22 Sep 2017 12:13:58 +0530 Subject: [PATCH] Fix command argument typo in telnet module docs (#30731) --- lib/ansible/modules/commands/telnet.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/commands/telnet.py b/lib/ansible/modules/commands/telnet.py index e356688c74..65842233fa 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 = '''