diff options
author | Trishna Guha <trishnaguha17@gmail.com> | 2018-05-31 15:15:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 15:15:01 +0200 |
commit | 5350d0697f72c4fa7ba1fdbdf380383e088e03fd (patch) | |
tree | 7bf50da5a5d6c763d46722a5b702b3083389e49c /lib/ansible/plugins/terminal/nxos.py | |
parent | ovirt_templates: Add searching by cluster (#40934) (diff) | |
download | ansible-5350d0697f72c4fa7ba1fdbdf380383e088e03fd.tar.xz ansible-5350d0697f72c4fa7ba1fdbdf380383e088e03fd.zip |
revert #40655 fixes output getting truncated issue for nxos (#40940)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | lib/ansible/plugins/terminal/nxos.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/plugins/terminal/nxos.py b/lib/ansible/plugins/terminal/nxos.py index 385ab9b1d2..fcccfe155e 100644 --- a/lib/ansible/plugins/terminal/nxos.py +++ b/lib/ansible/plugins/terminal/nxos.py @@ -30,8 +30,8 @@ from ansible.module_utils._text import to_bytes, to_text class TerminalModule(TerminalBase): terminal_stdout_re = [ - re.compile(br'[\r\n]?(?!\s*<)?(\x1b\S+)*[a-zA-Z_0-9]{1}[a-zA-Z0-9-_.]*[>|#|%](?:\s*)*(\x1b\S+)*$'), - re.compile(br'[\r\n]?[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]*\(.+\)#(?:\s*)$') + re.compile(br'[\r\n]?(?!\s*<)?(\x1b\S+)*[a-zA-Z_]{1}[a-zA-Z0-9-_.]*[>|#|%](?:\s*)*(\x1b\S+)*$'), + re.compile(br'[\r\n]?[a-zA-Z]{1}[a-zA-Z0-9-_.]*\(.+\)#(?:\s*)$') ] terminal_stderr_re = [ |