diff --git a/docs/docsite/rst/playbooks_loops.rst b/docs/docsite/rst/playbooks_loops.rst index f17a87b6e76be9..18a15ba322e89d 100644 --- a/docs/docsite/rst/playbooks_loops.rst +++ b/docs/docsite/rst/playbooks_loops.rst @@ -120,7 +120,7 @@ Using register with a loop After 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``:: +Here is an example of using ``register`` with ``loop``:: - shell: "echo {{ item }}" loop: