community.general/lib/ansible
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
..
cli Only expose rekey options to ansible-vault command 2017-12-07 11:48:20 -05:00
compat Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config Add Support for Mellanox switches: first module: mlnxos_command (#33121) 2017-11-27 20:55:08 +00:00
errors Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
executor Fix shebang. shebang and interpreter path weren't being templated (#33698) 2017-12-08 06:59:24 -08:00
galaxy Fix IndexError raised on galaxy-install 2017-11-14 09:54:52 -05:00
inventory restore hostpattern regex/glob behaviour 2017-11-22 09:33:38 -05:00
module_utils ACI Module: Update modules to provide match criteria; allows more complex matching (#33756) 2017-12-11 18:43:11 +00:00
modules [cloud] Ec2 module warning when IP assignment is changed on existing instances (#33783) 2017-12-11 15:21:56 -05:00
parsing Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
playbook removed unused 2017-12-06 11:22:11 -05:00
plugins Use pop in cb clean results (#33779) 2017-12-11 17:41:12 -05:00
template Deprecate tests used as filters (#32361) 2017-11-27 17:58:08 -05:00
utils IOS-XR NetConf and Cliconf plugin work (#33332) 2017-12-06 22:37:31 +05:30
vars fix item var in delegation (#32986) 2017-11-20 09:29:55 -05:00
__init__.py
constants.py Fixes eos sending 'None' to device (#33015) 2017-11-17 11:33:54 -05:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00