playbook_loops.rst: fix formatting (#34026)

This commit is contained in:
Martin Krizek 2017-12-19 12:26:05 +01:00 committed by John R Barker
parent 9f86b923e9
commit 35c6b17a14

View file

@ -266,9 +266,9 @@ When using complex data structures for looping the display might get a bit too "
nic02: 10Gb nic02: 10Gb
... ...
loop_control: loop_control:
label: "{{item.name}}" label: "{{ item.name }}"
This will now display just the 'label' field instead of the whole structure per 'item', it defaults to '"{{item}}"' to display things as usual. This will now display just the ``label`` field instead of the whole structure per ``item``, it defaults to ``{{ item }}`` to display things as usual.
.. versionadded:: 2.2 .. versionadded:: 2.2