* Fixes 53277 * Still fixes #53277 , now with dressed up except (PEP8 E722)
This commit is contained in:
parent
9fa1f78126
commit
1a5732807f
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ class TerminalModule(TerminalBase):
|
|||
|
||||
try:
|
||||
self._exec_cli_command(b'terminal width 512')
|
||||
try:
|
||||
self._exec_cli_command(b'terminal width 0')
|
||||
except AnsibleConnectionFailure:
|
||||
pass
|
||||
except AnsibleConnectionFailure:
|
||||
display.display('WARNING: Unable to set terminal width, command responses may be truncated')
|
||||
|
||||
|
|
Loading…
Reference in a new issue