diff --git a/lib/ansible/plugins/terminal/eos.py b/lib/ansible/plugins/terminal/eos.py index 8a81a46119..fe0be5aa8d 100644 --- a/lib/ansible/plugins/terminal/eos.py +++ b/lib/ansible/plugins/terminal/eos.py @@ -45,7 +45,7 @@ class TerminalModule(TerminalBase): # Strings like this regarding VLANs are not errors re.compile(br"[^\r\n]+ not found(?! in current VLAN)", re.I), re.compile(br"'[^']' +returned error code: ?\d+"), - re.compile(br"[^\r\n]\/bin\/(?:ba)?sh"), + re.compile(br"[^\r\n](?