From ce963984d141ee6538b3659b02bce9024a7e46a1 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 22 Sep 2017 15:20:09 +0530 Subject: [PATCH] Fix command argument typo in telnet module docs (#30731) (#30734) * Fix command argument typo in telnet module docs (#30731) (cherry picked from commit 6d3307e472437f1cd116b8858cf67af5cbfe7a74) * Update Change log --- CHANGELOG.md | 1 + lib/ansible/modules/commands/telnet.py | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce47d21336..817f082f0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ Ansible Changes By Release * Fixed precedence and values for become flags and executable settings * Fix for win_domain_membership to throw more helpful error messages and check/fix when calling WMI function after changing workgroup * Fix for win_power_plan to compare the OS version's correctly and work on Windows 10/Server 2016 +* Fix module doc for typo in telnet command option 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 = '''