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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue