ansible/lib/ansible/parsing
Matt Martz bf7d4ce260
Abstract away libyaml details into yaml utils (#72607)
* Add yaml utils file and use it

* Linting fix and missing import

* Abstract a few more details

* Parser imports

* Don't use CSafeDumper in AnsibleDumper

* Move and use convert_yaml_objects_to_native when libyaml is present

* yaml_load and yaml_dump, instead of safe_*

* re-use HAS_LIBYAML from utils.yaml

* add changelog fragment

* Address recent changes

* Use representer instead of recursive type converter

* Restore needed import

* move yaml utils to module_utils

* Properly guard imports

* Update from_yaml(_all)? to handle text wrappers with CSafeLoader

* Use yaml utils for legacy_collection_loader

* Add HAS_YAML, and ignore pylint issue

* oops

* GPL->BSD
2021-04-21 16:47:03 -05:00
..
utils Add more include and yaml parsing tests (#70506) 2020-08-04 11:24:52 -07:00
vault fix typo in ansible vault decrypt if vault error (#73542) 2021-02-11 14:14:50 -05:00
yaml Abstract away libyaml details into yaml utils (#72607) 2021-04-21 16:47:03 -05:00
__init__.py
ajson.py
dataloader.py Rewrite _is_role and remove incidental_flatpak_remote (#72105) 2020-10-05 13:52:39 -05:00
mod_args.py Fix missing ansible.builtin FQCNs in hardcoded action names (#71824) 2020-11-03 08:51:31 -05:00
plugin_docs.py Plugin/module docs: parse return values, add collection names in them (version_added_collection), and format them nicely in ansible-doc (#69796) 2020-06-11 11:03:43 -07:00
quoting.py
splitter.py various fixes to command (#74212) 2021-04-13 12:52:29 -04:00