Update YAMLSyntax.rst

Small updates loosely based on suggestions. :)
This commit is contained in:
brianlycett 2016-02-29 16:04:45 +00:00
parent 4160a3f40b
commit 6c7680b633

View file

@ -42,7 +42,7 @@ A dictionary is represented in a simple ``key: value`` form (the colon must be f
job: Developer job: Developer
skill: Elite skill: Elite
More complicated data structures are possible, such as lists of dictionaries, or dictionaries whose values are lists. Or a mix of both:: More complicated data structures are possible, such as lists of dictionaries, dictionaries whose values are lists or a mix of both::
# Employee records # Employee records
- martin: - martin:
@ -77,7 +77,7 @@ Ansible doesn't really use these too much, but you can also specify a boolean va
likes_emacs: TRUE likes_emacs: TRUE
uses_cvs: false uses_cvs: false
Values can span multiple lines using *|* or *>*. Spanning multiple lines using a *|* will include the newlines. Using a *>* will ignore newlines; it's used to make what would otherwise be a very long line easier to read and edit. Values can span multiple lines using `|` or `>`. Spanning multiple lines using a `|` will include the newlines. Using a `>` will ignore newlines; 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. In either case the indentation will be ignored.
Examples are:: Examples are::