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

Changed do/until failed color

Fixes #13130
This commit is contained in:
James Cammarata 2015-11-11 14:43:15 -05:00
parent 94c20c9ac6
commit b2b0fa8d13

View file

@ -379,7 +379,7 @@ class TaskExecutor:
result = None result = None
for attempt in range(retries): for attempt in range(retries):
if attempt > 0: if attempt > 0:
display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color="red") display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color="dark gray")
result['attempts'] = attempt + 1 result['attempts'] = attempt + 1
display.debug("running the handler") display.debug("running the handler")