mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Add unit tests for junos terminal (#47103)
This commit is contained in:
parent
c3cc2ecc5b
commit
ab8ed2f84d
2 changed files with 56 additions and 1 deletions
|
@ -49,7 +49,7 @@ class TerminalModule(TerminalBase):
|
|||
prompt = self._get_prompt()
|
||||
if prompt.strip().endswith(b'%'):
|
||||
display.vvv('starting cli', self._connection._play_context.remote_addr)
|
||||
self._exec_cli_command('cli')
|
||||
self._exec_cli_command(b'cli')
|
||||
for c in (b'set cli timestamp disable', b'set cli screen-length 0', b'set cli screen-width 1024'):
|
||||
self._exec_cli_command(c)
|
||||
except AnsibleConnectionFailure:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue