community.general/lib/ansible/plugins/callback
Adrian Likins a57d6a4206 Use pop in cb clean results (#33779)
* Fix _clean_result for debug callback with 1 char var names

The check in _clean_results was removing any keys that happened
to be one of the chars in ('invocation') instead of the string
'invocation'. This was meant to be a tuple but there was no comma
so the for iterated the string instead of the tuple.

Introduced in 9dba580204fcc7d95d4ca2ea2ae4ce23fe28c2ed

Update unit test to catch this.

Fixes #33723

* Use .pop() to remove invocation from results dict

In base callback _clean_results, simplify the way the
'invocation' item is removed.

Add some more unit tests.
2017-12-11 17:41:12 -05:00
..
__init__.py Use pop in cb clean results (#33779) 2017-12-11 17:41:12 -05:00
actionable.py fixed issue with default callback inheritance (#30427) 2017-09-15 11:14:47 -07:00
context_demo.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
debug.py Add module_stdout/stderr fields to list in 'debug' callback plugin 2017-12-06 08:33:02 -08:00
default.py Make everything in default callback use display (#32811) 2017-11-16 10:53:01 +10:00
dense.py fixed issue with default callback inheritance (#30427) 2017-09-15 11:14:47 -07:00
foreman.py Fix sending facts to Foreman 2017-09-13 13:58:45 -07:00
full_skip.py fixed issue with default callback inheritance (#30427) 2017-09-15 11:14:47 -07:00
hipchat.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
jabber.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
json.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
junit.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
log_plays.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
logentries.py get_option instead of internal dict (#33191) 2017-11-28 12:00:22 -05:00
logstash.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
mail.py added version added 2017-11-30 22:21:25 -05:00
minimal.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
null.py Added callback that removes callback noise 2017-11-09 17:12:13 -05:00
oneline.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
osx_say.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
profile_roles.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
profile_tasks.py Use module formatting (#33413) 2017-12-07 14:26:52 +00:00
selective.py get_option instead of internal dict (#33191) 2017-11-28 12:00:22 -05:00
skippy.py fixed issue with default callback inheritance (#30427) 2017-09-15 11:14:47 -07:00
slack.py get_option instead of internal dict (#33191) 2017-11-28 12:00:22 -05:00
stderr.py fixed issue with default callback inheritance (#30427) 2017-09-15 11:14:47 -07:00
syslog_json.py syslog_json: fix typos in documentation 2017-11-13 17:11:15 -05:00
timer.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
tree.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
unixy.py unixy maint info 2017-11-14 09:39:21 -05:00
yaml.py Add yaml output plugin (#32246) 2017-11-07 22:00:11 -05:00