Remove action keyword from do-until example

`action:` is old and not needed any more.
pull/23929/head
Strahinja Kustudic 8 years ago committed by Toshio Kuratomi
parent b729b35e32
commit 6dddd5b167

@ -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

Loading…
Cancel
Save