mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -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
|
@ -332,7 +332,7 @@ def to_command(module, commands):
|
|||
command=dict(key=True),
|
||||
output=dict(default=default_output),
|
||||
prompt=dict(),
|
||||
response=dict()
|
||||
answer=dict()
|
||||
), module)
|
||||
|
||||
commands = transform(to_list(commands))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue