Using shorthand for disabling paging to avoid the syntax difference between versions. (#31942)

Fixes #31855
This commit is contained in:
James Mighion 2017-10-23 01:15:30 -07:00 committed by Martin Krizek
parent 529b7a7b78
commit 6693cc3f5a

View file

@ -48,6 +48,6 @@ class TerminalModule(TerminalBase):
def on_open_shell(self):
try:
self._exec_cli_command(b'no paging')
self._exec_cli_command(b'no pag')
except AnsibleConnectionFailure:
raise AnsibleConnectionFailure('unable to set terminal parameters')