1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

made dict example less ambigous

fixes #14748
This commit is contained in:
Brian Coca 2016-03-02 09:19:02 -05:00
parent 2c7a33f71d
commit 7404d4ce7f

View file

@ -37,7 +37,7 @@ All members of a list are lines beginning at the same indentation level starting
A dictionary is represented in a simple ``key: value`` form (the colon must be followed by a space)::
# An employee record
- martin:
martin:
name: Martin D'vloper
job: Developer
skill: Elite
@ -45,9 +45,8 @@ A dictionary is represented in a simple ``key: value`` form (the colon must be f
Dictionaries and lists can also be represented in an abbreviated form if you really want to::
---
employees:
- martin: {name: Martin D'vloper, job: Developer, skill: Elite}
fruits: ['Apple', 'Orange', 'Strawberry', 'Mango']
martin: {name: Martin D'vloper, job: Developer, skill: Elite}
fruits: ['Apple', 'Orange', 'Strawberry', 'Mango]
.. _truthiness: