mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added missing store regex pattern for prompt found after error (#35820)
This commit is contained in:
parent
bc6b96d42e
commit
0fee332643
1 changed files with 1 additions and 0 deletions
|
@ -487,6 +487,7 @@ class Connection(ConnectionBase):
|
|||
match = regex.search(response)
|
||||
if match:
|
||||
errored_response = response
|
||||
self._matched_pattern = regex.pattern
|
||||
self._matched_prompt = match.group()
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue