community.general/lib/ansible/modules/utilities/logic
nitzmahone 3abdfb1712 mark failed async_status as finished
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.
2016-12-08 11:24:09 -05:00
..
__init__.py added missing init.py for utilities modules 2016-12-08 11:22:25 -05:00
assert.py Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
async_status.py mark failed async_status as finished 2016-12-08 11:24:09 -05:00
async_wrapper.py code cleanup and reoorg, renamed vars and functions to actual purpose reneabled logging of steps 2016-12-08 11:23:44 -05:00
debug.py documented new verbosity option 2016-12-08 11:24:06 -05:00
fail.py Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
include_vars.py add documentation stating that JSON files can be loaded with include_vars 2016-12-08 11:23:43 -05:00
pause.py Add missing GPLv3 License header 2016-12-08 11:23:25 -05:00
set_fact.py clarified set_fact function 2016-12-08 11:23:48 -05:00
wait_for.py Specify types in argument_spec instead of code so that checking type vs default value does not trigger 2016-12-08 11:24:08 -05:00