* Fixes 53277

* Still fixes #53277 , now with dressed up except (PEP8 E722)
pull/54526/head
Albert Siersema 6 years ago committed by Nilashish Chakraborty
parent 9fa1f78126
commit 1a5732807f

@ -61,6 +61,10 @@ class TerminalModule(TerminalBase):
try: try:
self._exec_cli_command(b'terminal width 512') self._exec_cli_command(b'terminal width 512')
try:
self._exec_cli_command(b'terminal width 0')
except AnsibleConnectionFailure:
pass
except AnsibleConnectionFailure: except AnsibleConnectionFailure:
display.display('WARNING: Unable to set terminal width, command responses may be truncated') display.display('WARNING: Unable to set terminal width, command responses may be truncated')

Loading…
Cancel
Save