community.general/lib/ansible/plugins
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
..
action fix ce.py provider param issue (#27876) 2017-12-09 19:03:31 +05:30
cache Config continued (#31024) 2017-11-16 13:49:57 -05:00
callback Use pop in cb clean results (#33779) 2017-12-11 17:41:12 -05:00
cliconf IOS-XR NetConf and Cliconf plugin work (#33332) 2017-12-06 22:37:31 +05:30
connection fixes guess_os for netconf connections (#33671) 2017-12-07 20:17:41 +05:30
filter ensure quote runs on text 2017-12-06 12:16:45 -08:00
inventory Use module formatting (#33413) 2017-12-07 14:26:52 +00:00
lookup Use module formatting (#33413) 2017-12-07 14:26:52 +00:00
netconf fixes guess_os for netconf connections (#33671) 2017-12-07 20:17:41 +05:30
shell minor become/runas cleanup (#32564) 2017-11-06 11:24:04 -08:00
strategy Fix persistent reset_connection issue (#33590) 2017-12-06 19:37:09 +05:30
terminal Adding network_cli support in mlnxos (and removing provider) (#33511) 2017-12-06 14:22:15 +00:00
test Deprecate tests used as filters (#32361) 2017-11-27 17:58:08 -05:00
vars Scan group_vars/host_vars in sorted order 2017-11-20 21:57:42 -05:00
__init__.py fixed up get_options in AnsiblePlugin to use the correct plugin name 2017-11-22 15:35:31 -05:00
loader.py add lookups to config system (#33026) 2017-11-20 09:24:10 -05:00