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'''