From 64d9ccb96566be41fd97662add9fc77292be9169 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Thu, 1 Oct 2020 01:35:46 +0530 Subject: [PATCH] Reword strangely patronising introduction to loops (#72019) --- docs/docsite/rst/user_guide/playbooks_loops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_loops.rst b/docs/docsite/rst/user_guide/playbooks_loops.rst index 0934eeedad3..a425aca6b3b 100644 --- a/docs/docsite/rst/user_guide/playbooks_loops.rst +++ b/docs/docsite/rst/user_guide/playbooks_loops.rst @@ -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 `, creating multiple users with the :ref:`user module `, and -repeating a polling step until a certain result is reached. Ansible offers two keywords for creating loops: ``loop`` and ``with_``. +Ansible offers the ``loop``, ``with_``, 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 `, creating multiple users with the :ref:`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_``, but we recommend it for most use cases.