1
0
Fork 0
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:
Strahinja Kustudic 2017-04-27 10:30:45 +02:00 committed by Toshio Kuratomi
parent b729b35e32
commit 6dddd5b167

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