You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we guess if an YAML file is owned by ansible or not, we are forced to first load the file in order to determine that, so this means that we might have to reload files to switch the loader or we would be stuck with 1.1 forever.
Tasklist
Add support for different YAML versions for kind and possible base_kind, so we could choose to use different loaders
Make guess_kind method usable from loader to avoid recursivity issues when loading files
ensure github-workflows use yaml-1.2 loader
ensure ansible-files use yaml-1.1 loader
allow to configure default loader version to use for YAML files for which we do not know which loader to use
do not write yaml version directive when rewriting files unless it was present initially as many loaders will break if they find it
Rewrite YAML loading logic to default to ruyaml and only use pyyaml for ansible-related files (opposite to current behavior).
The text was updated successfully, but these errors were encountered:
While working on #3790 I was able to uncover a longer queue of issues that needs to be addressed.
Facts
Tasklist
kind
and possiblebase_kind
, so we could choose to use different loadersguess_kind
method usable from loader to avoid recursivity issues when loading filesThe text was updated successfully, but these errors were encountered: