community.general/lib/ansible/plugins
James Cammarata 78478e80ea Avoid default serialization of classes in dump_attrs
For playbook base objects, when dumping attributes via dump_attrs() an
attribute like loop_control is a class. Using the default serialization
for these is slow and consumes a lot of memory. Since LoopControl is also
based on the Base class, we can use serialize() instead and save a lot of
resources.

This also adds a from_attrs() complimentary method to nicely turn the
dumped attrs back into proper field attributes.

Fixes #23579
2017-05-11 16:28:07 -05:00
..
action netconf_config: support new src attribute (new Action Plugin) (#24337) 2017-05-11 18:43:44 +05:30
cache Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
callback Fix circular import with unsafe_proxy, template, and vars 2017-04-28 15:35:30 -07:00
connection fix spurious warnings with ansible_winrm_kinit_X args (#24380) 2017-05-08 11:27:25 -07:00
filter Add a new filter: strftime. Use the well known function to format a date output. (#23832) 2017-04-21 11:48:45 -07:00
lookup Minor typo correction varibles -> variables 2017-05-01 08:44:48 -04:00
shell improve become_method: runas error handling (#23328) 2017-04-06 01:34:30 -07:00
strategy Avoid default serialization of classes in dump_attrs 2017-05-11 16:28:07 -05:00
terminal Set terminal width for network *_command modules to avoid paging (#23728) 2017-04-25 14:10:39 +05:30
test Migrate most uses of if type() to if isinstance() 2017-04-04 08:17:20 -07:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Graceful error message for abstract base classes in PluginLoader 2017-02-22 10:27:29 -05:00