Remove action keyword from do-until example
`action:` is old and not needed any more.pull/4420/head
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…
Reference in New Issue