mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
playbook_loops.rst: fix formatting (#34026)
This commit is contained in:
parent
9f86b923e9
commit
35c6b17a14
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue