Skip to content

Which YAML schema does Ansible use? #2902

@mirabilos

Description

@mirabilos

https://github.com/ansible/ansible-documentation/blob/devel/docs/docsite/rst/reference_appendices/YAMLSyntax.rst is unfortunately silent on this.

Compare https://yaml.org/spec/1.2.2/#chapter-10-recommended-schemas with a number of recommended schemata from the spec, though I have no idea whether python3-yaml implements all of them, does that correctly, and not which one Ansible uses (or if it even defines its own) or how that is selected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs_triageNeeds a first human triage before being processed.new_contributorThis PR is the first contribution by a new community member.techreviewneeds technical review

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions