mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user