community.general/lib/ansible/plugins/callback
Dag Wieers 39c9c6b942 Ensure that command/shell errors are displayed
This fix ensures that if there are specific module errors (in our case
the python interpreter was not found) then command and shell returns a
proper error.

It also fixes a few other imperfections that we noticed during
troubleshooting:

- Return the real RC if it were available
- Improve a dictionary evaluation using .get()
- Return an RC of -1 if it is unknown (instead of returning 0)

This fixes #18846
2016-12-16 21:46:02 -05:00
..
__init__.py
actionable.py
context_demo.py
debug.py
default.py
dense.py
foreman.py
hipchat.py
jabber.py
json.py
junit.py
log_plays.py
logentries.py
logstash.py
mail.py
minimal.py Ensure that command/shell errors are displayed 2016-12-16 21:46:02 -05:00
oneline.py Ensure that command/shell errors are displayed 2016-12-16 21:46:02 -05:00
osx_say.py
profile_tasks.py
profile_tasks.rst
skippy.py
slack.py
syslog_json.py
timer.py
tree.py