mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
* Add yaml output plugin Using YAML instead of JSON for detailed output can (IMO) improve readability; especially for tasks with either lots of output, or multi-line output. * Fix yaml output plugin documentation * Added copyright header to yaml.py * Moved mention of yaml output plugin to `New Modules` section * Use AnsibleDumper in yaml output plugin Also moved the `represent_scalar` setup into the init method. As a global statement, it was causing exceptions trying to get an `id` field that does not exist. * Remove trailing whitespace * Remove useless json.loads/dumps from yaml output