diff --git a/lib/ansible/plugins/terminal/vyos.py b/lib/ansible/plugins/terminal/vyos.py index 833808dc1f..a68a0323be 100644 --- a/lib/ansible/plugins/terminal/vyos.py +++ b/lib/ansible/plugins/terminal/vyos.py @@ -45,6 +45,6 @@ class TerminalModule(TerminalBase): try: for cmd in (b'set terminal length 0', b'set terminal width 512'): self._exec_cli_command(cmd) - self._exec_cli_command(b'set terminal length %s' % self.terminal_length) + self._exec_cli_command(b'set terminal length %d' % self.terminal_length) except AnsibleConnectionFailure: raise AnsibleConnectionFailure('unable to set terminal parameters')