mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Fix eos integration test failure (#33407)
Fixes #33406 Fixes #33405 * Fix typo in network_cli for sendonly * Send `abort` to remote device in case configuration fails * Fix indentation issue in eos_static_route integration test * Revert network_cli change
This commit is contained in:
parent
d7ca068c3f
commit
35acae7ea7
4 changed files with 7 additions and 7 deletions
|
@ -108,7 +108,7 @@ class ActionModule(_ActionModule):
|
|||
out = conn.get_prompt()
|
||||
while '(config' in to_text(out, errors='surrogate_then_replace').strip():
|
||||
display.vvvv('wrong context, sending exit to device', self._play_context.remote_addr)
|
||||
conn.send_command('exit')
|
||||
conn.send_command('abort')
|
||||
out = conn.get_prompt()
|
||||
|
||||
result = super(ActionModule, self).run(tmp, task_vars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue