async_status: Update documentation (#70196)
Fixes: #38164 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
4b358c6641
commit
40a42de081
2 changed files with 4 additions and 2 deletions
|
@ -102,7 +102,8 @@ If you need a synchronization point with an async task, you can register it to o
|
||||||
jid: "{{ yum_sleeper.ansible_job_id }}"
|
jid: "{{ yum_sleeper.ansible_job_id }}"
|
||||||
register: job_result
|
register: job_result
|
||||||
until: job_result.finished
|
until: job_result.finished
|
||||||
retries: 30
|
retries: 100
|
||||||
|
delay: 10
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If the value of ``async:`` is not high enough, this will cause the
|
If the value of ``async:`` is not high enough, this will cause the
|
||||||
|
|
|
@ -54,7 +54,8 @@ EXAMPLES = r'''
|
||||||
jid: '{{ yum_sleeper.ansible_job_id }}'
|
jid: '{{ yum_sleeper.ansible_job_id }}'
|
||||||
register: job_result
|
register: job_result
|
||||||
until: job_result.finished
|
until: job_result.finished
|
||||||
retries: 30
|
retries: 100
|
||||||
|
delay: 10
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
|
|
Loading…
Add table
Reference in a new issue