From 6dddd5b167bc48775b45558f8be887d3f413c0e9 Mon Sep 17 00:00:00 2001 From: Strahinja Kustudic Date: Thu, 27 Apr 2017 10:30:45 +0200 Subject: [PATCH] Remove action keyword from do-until example `action:` is old and not needed any more. --- docs/docsite/rst/playbooks_loops.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/docsite/rst/playbooks_loops.rst b/docs/docsite/rst/playbooks_loops.rst index 1b37ebcc40e..505ac2d3fbb 100644 --- a/docs/docsite/rst/playbooks_loops.rst +++ b/docs/docsite/rst/playbooks_loops.rst @@ -349,8 +349,7 @@ Do-Until Loops Sometimes you would want to retry a task until a certain condition is met. Here's an example:: - - action: - shell /usr/bin/foo + - shell: /usr/bin/foo register: result until: result.stdout.find("all systems go") != -1 retries: 5