mirror of https://github.com/ansible/ansible.git
Fix double prompt issue in network_cli (#35439)
Fixes #33993 In current implementation while trying to fetch the current cli prompt terminal plugin executes `\r` on remote host. This causes if command execution results in a prompt for example executing `enable` command results in `Password:` prompt there by executing `\r` on password prompt which is not intended. To fix it while fetching current prompt from terminal plugin use `get_prompt()` api in network_cli that returns the latest matched prompt instead of unnecessary executing `\r` on remote host.pull/35579/head
parent
dc35baa8db
commit
311918828f
Loading…
Reference in New Issue