mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
fixs command dict to be sent to connection socket (#21713)
There as an invalid key in the command dict that would cause failure using prompts. This changes the key from response to answer which is what is expected by network_cli
This commit is contained in:
parent
6e7b89764e
commit
9e6980a039
9 changed files with 7 additions and 11 deletions
|
@ -148,7 +148,7 @@ def parse_commands(module, warnings):
|
|||
command = ComplexList(dict(
|
||||
command=dict(key=True),
|
||||
prompt=dict(),
|
||||
response=dict()
|
||||
answer=dict()
|
||||
), module)
|
||||
commands = command(module.params['commands'])
|
||||
for index, item in enumerate(commands):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue