mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove action keyword from do-until example
`action:` is old and not needed any more.
This commit is contained in:
parent
b729b35e32
commit
6dddd5b167
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue