-
-
Save TheDigitalNomadDev/a0317ebf4cdb20c8c47bf8841df264d2 to your computer and use it in GitHub Desktop.
ios terminal plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git diff lib/ansible/plugins/terminal/ios.py | |
| diff --git a/lib/ansible/plugins/terminal/ios.py b/lib/ansible/plugins/terminal/ios.py | |
| index c108e91257..3706019724 100644 | |
| --- a/lib/ansible/plugins/terminal/ios.py | |
| +++ b/lib/ansible/plugins/terminal/ios.py | |
| @@ -30,7 +30,7 @@ from ansible.plugins.terminal import TerminalBase | |
| class TerminalModule(TerminalBase): | |
| terminal_stdout_re = [ | |
| - re.compile(br"[\r\n]?[\w\+\-\.:\/\[\]]+(?:\([^\)]+\)){0,3}(?:[>#]) ?$") | |
| + re.compile(br"[\r\n][\w\+\-\.:\/\[\]]+(?:\([^\)]+\)){0,3}(?:[>#]) ?$") | |
| ] | |
| terminal_stderr_re = [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment