Add docs detailing how to convert many with_X style loops to use loop and filters (#40964)

* Add docs detailing how to convert many with_X style loops to use loop and filters. Fixes #40727

* Switch lookup used in query vs lookup comparison, to not recommend use of nested lookup

* Improve docs based on feedback
This commit is contained in:
Matt Martz
2018-06-01 09:37:21 -05:00
committed by Brian Coca
parent 5228b939fe
commit 1cec3c8daf
3 changed files with 206 additions and 3 deletions

View File

@@ -91,6 +91,11 @@ You will run into errors because Ansible reads name in this context as a keyword
For a full list of keywords see ::ref::`Playbook Keywords`.
Migrating from with_X to loop
-----------------------------
.. include:: ../user_guide/shared_snippets/with2loop.txt
Deprecated
==========