mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 07:31:23 -07:00
[PR #10242/66cb9aef backport][stable-10] yaml callback: use new util introduced in ansible-core 2.19.0b2 (#10245)
yaml callback: use new util introduced in ansible-core 2.19.0b2 (#10242)
* Avoid repeating some code.
* Use new utility added for ansible-core 2.19.0b2.
* Lint.
* Add changelog fragment.
* transform_to_native_types() does not convert map keys.
To catch all tagged strings, we have to recursively walk the data structure then.
* Add test with vaulted string.
(cherry picked from commit 66cb9aefb5
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a9e892952d
commit
cae0457e0e
5 changed files with 119 additions and 136 deletions
5
changelogs/fragments/10242-yaml.yml
Normal file
5
changelogs/fragments/10242-yaml.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
bugfixes:
|
||||
- "yaml callback plugin - when using ansible-core 2.19.0b2 or newer, uses a new utility provided by ansible-core.
|
||||
This allows us to remove all hacks and vendored code that was part of the plugin for ansible-core versions with
|
||||
Data Tagging so far
|
||||
(https://github.com/ansible-collections/community.general/pull/10242)."
|
Loading…
Add table
Add a link
Reference in a new issue