mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added in method to handle new and old login methods (#47170)
This commit is contained in:
parent
079705f8da
commit
dc81a3b856
1 changed files with 4 additions and 1 deletions
|
@ -53,4 +53,7 @@ class TerminalModule(TerminalBase):
|
|||
for cmd in commands:
|
||||
self._exec_cli_command(cmd)
|
||||
except AnsibleConnectionFailure:
|
||||
raise AnsibleConnectionFailure('unable to set terminal parameters')
|
||||
try:
|
||||
self._exec_cli_command(b'config paging disable')
|
||||
except AnsibleConnectionFailure:
|
||||
raise AnsibleConnectionFailure('unable to set terminal parameters')
|
||||
|
|
Loading…
Add table
Reference in a new issue