Documentation error in the Test if a list contains a value section (#57923)

* Update docs/docsite/rst/user_guide/playbooks_tests.rst - 'contains' test works with 'select/reject' and 'selectattr/rejectattr' but not 'map'
pull/58005/head
Sayed Anisul Hoque 6 years ago committed by Alicia Cozine
parent d4555cbd45
commit 2bdc4e5b4a

@ -119,7 +119,7 @@ Test if a list contains a value
.. versionadded:: 2.8
Ansible includes a ``contains`` test which operates similarly, but in reverse of the Jinja2 provided ``in`` test.
This is designed with the ability to allow use of ``contains`` with filters such as ``map`` and ``selectattr``::
The ``contains`` test is designed to work with the ``select``, ``reject``, ``selectattr``, and ``rejectattr`` filters::
vars:
lacp_groups:

Loading…
Cancel
Save