077f8131aa
Running async_status in an "until: result.finished" loop will mask a module failure (eg, traceback) with a template failure, because the fail dict doesn't include "finished" (eg, you'll see "ERROR! The conditional check 'bogus_out.finished' failed. The error was: ERROR! error while evaluating conditional: bogus_out.finished ({% if bogus_out.finished %} True {% else %} False {% endif %}"). Because the failure dict still includes "failed: true", this change has no effect on stoppage/failure reporting, it just prevents the common usage pattern from masking the underlying error message. |
||
---|---|---|
.. | ||
__init__.py | ||
assert.py | ||
async_status.py | ||
async_wrapper.py | ||
debug.py | ||
fail.py | ||
include_vars.py | ||
pause.py | ||
set_fact.py | ||
wait_for.py |