You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/module_utils
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
5 years ago
..
common Abstract away libyaml details into yaml utils (#72607) 5 years ago
compat selinux: return selinux_getpolicytype facts (#73609) 5 years ago
csharp runas - create new SYSTEM token on become (#71714) 5 years ago
distro [module_utils.distro] Fall back to bundled (#74229) 5 years ago
facts Add epoch_int in date_time facts (#73822) 5 years ago
parsing Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
powershell Ansible.Basic added generic fragment merger for module options (#69719) 6 years ago
six Updated bundled libraries (#70418) 6 years ago
__init__.py Enhance empty __init__ code-smell to check module_utils (#33438) 8 years ago
_text.py Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
ansible_release.py [AWS] Add Ansible Version to botocore user agent string (#39993) 8 years ago
api.py api: time.clock compatible code (#70650) 5 years ago
basic.py Deprecate Py2.6 support for target nodes (#74165) 5 years ago
connection.py Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
errors.py Add porting guide and documentation for changes to argument spec validation (#74268) 5 years ago
json_utils.py module output is only json objects (#73765) 5 years ago
pycompat24.py Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
service.py Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
splitter.py Fix boilerplate in setup.py and lib/ansible/ dir. 6 years ago
urls.py uri - add ca_path parameter (#71979) 5 years ago
yumdnf.py Add cacheonly option to yum and dnf modules (#73820) 5 years ago