Update YAMLSyntax.rst with yamllint (#66622)
* Update YAMLSyntax.rst with yamllint Co-authored-by: Sandra McCann <samccann@redhat.com>
This commit is contained in:
parent
68620ced7f
commit
f35293c052
1 changed files with 21 additions and 20 deletions
|
@ -80,6 +80,8 @@ Ansible doesn't really use these too much, but you can also specify a boolean va
|
|||
likes_emacs: TRUE
|
||||
uses_cvs: false
|
||||
|
||||
Use lowercase 'true' or 'false' for boolean values in dictionaries if you want to be compatible with default yamllint options.
|
||||
|
||||
Values can span multiple lines using ``|`` or ``>``. Spanning multiple lines using a "Literal Block Scalar" ``|`` will include the newlines and any trailing spaces.
|
||||
Using a "Folded Block Scalar" ``>`` will fold newlines to spaces; it's used to make what would otherwise be a very long line easier to read and edit.
|
||||
In either case the indentation will be ignored.
|
||||
|
@ -238,4 +240,3 @@ value::
|
|||
implementing
|
||||
`YAML 1.2 Specification <https://yaml.org/spec/1.2/spec.html>`_
|
||||
For completeness, YAML 1.2 is the successor of 1.1
|
||||
|
||||
|
|
Loading…
Reference in a new issue