* Fix command argument typo in telnet module docs (#30731)
(cherry picked from commit 6d3307e472437f1cd116b8858cf67af5cbfe7a74)
* Update Change log
... | ... |
@@ -34,6 +34,7 @@ Ansible Changes By Release |
34 | 34 |
* Fixed precedence and values for become flags and executable settings |
35 | 35 |
* Fix for win_domain_membership to throw more helpful error messages and check/fix when calling WMI function after changing workgroup |
36 | 36 |
* Fix for win_power_plan to compare the OS version's correctly and work on Windows 10/Server 2016 |
37 |
+* Fix module doc for typo in telnet command option |
|
37 | 38 |
|
38 | 39 |
<a id="2.4"></a> |
39 | 40 |
|
... | ... |
@@ -18,7 +18,7 @@ description: |
18 | 18 |
- Executes a low-down and dirty telnet command, not going through the module subsystem. |
19 | 19 |
- This is mostly to be used for enabling ssh on devices that only have telnet enabled by default. |
20 | 20 |
options: |
21 |
- commands: |
|
21 |
+ command: |
|
22 | 22 |
description: |
23 | 23 |
- List of commands to be executed in the telnet session. |
24 | 24 |
required: True |
... | ... |
@@ -67,7 +67,7 @@ EXAMPLES = ''' |
67 | 67 |
login_prompt: "Username: " |
68 | 68 |
prompts: |
69 | 69 |
- "[>|#]" |
70 |
- commands: |
|
70 |
+ command: |
|
71 | 71 |
- terminal length 0 |
72 | 72 |
- configure terminal |
73 | 73 |
- hostname ios01 |
... | ... |
@@ -79,8 +79,9 @@ EXAMPLES = ''' |
79 | 79 |
login_prompt: "Username: " |
80 | 80 |
prompts: |
81 | 81 |
- "[>|#]" |
82 |
- commands: |
|
82 |
+ command: |
|
83 | 83 |
- terminal length 0 |
84 |
+ - show version |
|
84 | 85 |
''' |
85 | 86 |
|
86 | 87 |
RETURN = ''' |