Reword strangely patronising introduction to loops (#72019)
This commit is contained in:
parent
f1c4a954d5
commit
64d9ccb965
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
Loops
|
||||
*****
|
||||
|
||||
Sometimes you want to repeat a task multiple times. In computer programming, this is called a loop. Common Ansible loops include changing ownership on several files and/or directories with the :ref:`file module <file_module>`, creating multiple users with the :ref:`user module <user_module>`, and
|
||||
repeating a polling step until a certain result is reached. Ansible offers two keywords for creating loops: ``loop`` and ``with_<lookup>``.
|
||||
Ansible offers the ``loop``, ``with_<lookup>``, and ``until`` keywords to execute a task multiple times. Examples of commonly-used loops include changing ownership on several files and/or directories with the :ref:`file module <file_module>`, creating multiple users with the :ref:`user module <user_module>`, and
|
||||
repeating a polling step until a certain result is reached.
|
||||
|
||||
.. note::
|
||||
* We added ``loop`` in Ansible 2.5. It is not yet a full replacement for ``with_<lookup>``, but we recommend it for most use cases.
|
||||
|
|
Loading…
Reference in a new issue