From 40a42de0811007623126d7a49ba3fee03d419aa0 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 23 Jun 2020 21:15:54 +0530 Subject: [PATCH] async_status: Update documentation (#70196) Fixes: #38164 Signed-off-by: Abhijeet Kasurde --- docs/docsite/rst/user_guide/playbooks_async.rst | 3 ++- lib/ansible/modules/async_status.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_async.rst b/docs/docsite/rst/user_guide/playbooks_async.rst index 5f7636fee28..b709a4c0733 100644 --- a/docs/docsite/rst/user_guide/playbooks_async.rst +++ b/docs/docsite/rst/user_guide/playbooks_async.rst @@ -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 }}" register: job_result until: job_result.finished - retries: 30 + retries: 100 + delay: 10 .. note:: If the value of ``async:`` is not high enough, this will cause the diff --git a/lib/ansible/modules/async_status.py b/lib/ansible/modules/async_status.py index 158e771d25c..03e0bc16b70 100644 --- a/lib/ansible/modules/async_status.py +++ b/lib/ansible/modules/async_status.py @@ -54,7 +54,8 @@ EXAMPLES = r''' jid: '{{ yum_sleeper.ansible_job_id }}' register: job_result until: job_result.finished - retries: 30 + retries: 100 + delay: 10 ''' RETURN = r'''