1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix regular expression for timeout (#53994)

This commit is contained in:
Mike Wiebe 2019-03-20 03:32:11 -04:00 committed by Trishna Guha
parent 5b79631380
commit 07212c395b

View file

@ -267,7 +267,7 @@ def parse_show_install(data):
# We get these messages when the upgrade is non-disruptive and
# we loose connection with the switchover but far enough along that
# we can be confident the upgrade succeeded.
if re.search(r'timeout trying to send command: install', x):
if re.search(r'timeout .*trying to send command: install', x):
ud['upgrade_succeeded'] = True
ud['use_impact_data'] = True
break