mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 13:51:09 +00:00
playbook_loops.rst: fix formatting (#34026)
This commit is contained in:
committed by
John R Barker
parent
9f86b923e9
commit
35c6b17a14
@@ -266,9 +266,9 @@ When using complex data structures for looping the display might get a bit too "
|
||||
nic02: 10Gb
|
||||
...
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user