Skip to content

Commit 8af3fcc

Browse files
authored
remove some yaml code-block items to fix CI (#2612)
1 parent a18cc3d commit 8af3fcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docsite/rst/playbook_guide/playbooks_filters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,14 +836,14 @@ products
836836
^^^^^^^^
837837
The product filter returns the `cartesian product <https://docs.python.org/3/library/itertools.html#itertools.product>`_ of the input iterables. This is roughly equivalent to nested for-loops in a generator expression.
838838

839-
.. code-block:: yaml+jinja
839+
.. code-block:: jinja
840840
841841
{{ ['foo', 'bar'] | product(['com']) }}
842842
# => [('foo', 'com'), ('bar', 'com')]
843843
844844
For example Generate multiple hostnames:
845845

846-
.. code-block:: yaml+jinja
846+
.. code-block:: jinja
847847
848848
{{ ['foo', 'bar'] | product(['com']) | map('join', '.') }}
849849
# => ['foo.com', 'bar.com']
@@ -1168,7 +1168,7 @@ Preserve nulls in a list (flatten removes them by default):
11681168
11691169
Create a list from a list repeated N times:
11701170

1171-
.. code-block:: yaml+jinja
1171+
.. code-block:: jinja
11721172
11731173
{{ 3*[1, 2, 3, "foo"] }}
11741174
# => [1, 2, 3, 'foo', 1, 2, 3, 'foo', 1, 2, 3, 'foo']

0 commit comments

Comments
 (0)