1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #17973 from cgwalters/docs-playbook-loop

docs: Tweak sentence for interaction of loops + register
This commit is contained in:
scottb 2016-10-11 23:34:06 -07:00 committed by GitHub
commit 6be09ee866

View file

@ -459,7 +459,7 @@ That's how!
Using register with a loop
``````````````````````````
When using ``register`` with a loop the data structure placed in the variable during a loop, will contain a ``results`` attribute, that is a list of all responses from the module.
When using ``register`` with a loop, the data structure placed in the variable will contain a ``results`` attribute that is a list of all responses from the module.
Here is an example of using ``register`` with ``with_items``::