mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 23:01:14 +00:00
Fix iosxr get_prompt return value failure (#32902)
This commit is contained in:
@@ -75,7 +75,7 @@ class ActionModule(_ActionModule):
|
||||
while to_text(out, errors='surrogate_then_replace').strip().endswith(')#'):
|
||||
display.vvvv('wrong context, sending exit to device', self._play_context.remote_addr)
|
||||
conn.send_command('abort')
|
||||
rc, out, err = conn.get_prompt()
|
||||
out = conn.get_prompt()
|
||||
|
||||
result = super(ActionModule, self).run(tmp, task_vars)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user