diff --git a/docs/docsite/rst/user_guide/playbooks_tests.rst b/docs/docsite/rst/user_guide/playbooks_tests.rst index a3a97a2db6b..b8eecfb37a1 100644 --- a/docs/docsite/rst/user_guide/playbooks_tests.rst +++ b/docs/docsite/rst/user_guide/playbooks_tests.rst @@ -252,11 +252,11 @@ The ``contains`` test is designed to work with the ``select``, ``reject``, ``sel - debug: msg: "{{ (lacp_groups|selectattr('interfaces', 'contains', 'em1')|first).master }}" -.. versionadded:: 2.4 - Testing if a list value is True =============================== +.. versionadded:: 2.4 + You can use `any` and `all` to check if any or all elements in a list are true or not .. code-block:: yaml