community.general/lib/ansible
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
..
cli ansible-doc snippet format changes 2017-05-04 09:08:19 -07:00
compat Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
config
errors moved to exceptions for basic skip/fails 2017-04-25 14:48:56 -04:00
executor deal with null/none connections 2017-05-11 15:46:14 -04:00
galaxy fix ansible galaxy file mangling (#23703) 2017-04-19 14:15:20 -04:00
inventory correctly get all hosts in 'all' 2017-04-07 13:17:03 -04:00
module_utils [GCE] [GCP] UrlMap module (#24422) 2017-05-11 13:02:32 -04:00
modules fix #24429 (#24491) 2017-05-11 13:59:39 -07:00
parsing Fix vaulted vars templating (#24312) 2017-05-05 11:07:50 -04:00
playbook Avoid default serialization of classes in dump_attrs 2017-05-11 16:28:07 -05:00
plugins Avoid default serialization of classes in dump_attrs 2017-05-11 16:28:07 -05:00
template Fixing security issue with lookup returns not tainting the jinja2 environment 2017-05-08 12:43:46 -05:00
utils Fortios file only mode + integration tests (#23275) 2017-05-09 13:51:19 +01:00
vars Fix circular import with unsafe_proxy, template, and vars 2017-04-28 15:35:30 -07:00
__init__.py
constants.py Fixing security issue with lookup returns not tainting the jinja2 environment 2017-05-08 12:43:46 -05:00
release.py Bumping devel version to 2.4.0 2017-03-15 09:42:01 -05:00