Which variation of YAML does ansible use?

Hi,

There are a number of different versions of YAML (1.0,1.1,1.2), and
within these versions choices that can be made about which tags to
include and so on.

Is the dialect of YAML that ansible uses defined anywhere? This isn't
just pedantry, it does make a difference (e.g. to which strings are
interpreted as booleans)...

Thanks,

Matthew

Ansible uses pyyaml as its YAML parser. Per the pyyaml docs it is YAML 1.1. See http://pyyaml.org

Hi,

Currently ansible states pyyaml as a requirement w/o specifying
version, unless some incompatibility appears that will continue to be
the case.