From 2bdc4e5b4a406f370ee21ded0c85767ce6f613f7 Mon Sep 17 00:00:00 2001 From: Sayed Anisul Hoque Date: Tue, 18 Jun 2019 16:15:09 +0200 Subject: [PATCH] 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' --- docs/docsite/rst/user_guide/playbooks_tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_tests.rst b/docs/docsite/rst/user_guide/playbooks_tests.rst index 5a2b430cd18..2acb186c247 100644 --- a/docs/docsite/rst/user_guide/playbooks_tests.rst +++ b/docs/docsite/rst/user_guide/playbooks_tests.rst @@ -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: