mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-23 14:31:44 -07:00
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
)
This commit is contained in:
parent
fd48bc38f1
commit
67269f302d
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