mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-12 19:29:11 -07:00
output color is now configurable
This commit is contained in:
parent
2d11cfab92
commit
d3deb24ead
10 changed files with 86 additions and 60 deletions
|
@ -393,7 +393,7 @@ class TaskExecutor:
|
|||
result = None
|
||||
for attempt in range(retries):
|
||||
if attempt > 0:
|
||||
display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color="dark gray")
|
||||
display.display("FAILED - RETRYING: %s (%d retries left). Result was: %s" % (self._task, retries-attempt, result), color=C.COLOR_DEBUG)
|
||||
result['attempts'] = attempt + 1
|
||||
|
||||
display.debug("running the handler")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue