Remove action keyword from do-until example

`action:` is old and not needed any more.
pull/4420/head
Strahinja Kustudic 2017-04-27 10:30:45 +02:00 committed by Toshio Kuratomi
parent b729b35e32
commit 6dddd5b167
1 changed files with 1 additions and 2 deletions

View File

@ -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:: 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 register: result
until: result.stdout.find("all systems go") != -1 until: result.stdout.find("all systems go") != -1
retries: 5 retries: 5