Async task change handling (#75020)

Async task changes should be handled in the async_status task.
pull/75035/head
bluikko 3 years ago committed by GitHub
parent 7d38bb05e4
commit b0f62062d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,6 +119,11 @@ If you need a synchronization point with an async task, you can register it to o
"check on it later" task to fail because the temporary status file that "check on it later" task to fail because the temporary status file that
the ``async_status:`` is looking for will not have been written or no longer exist the ``async_status:`` is looking for will not have been written or no longer exist
.. note::
Asynchronous playbook tasks always return changed. If the task is using a module
that requires the user to annotate changes with ``changed_when``, ``creates``, and so on,
then those should be added to the following ``async_status`` task.
To run multiple asynchronous tasks while limiting the number of tasks running concurrently:: To run multiple asynchronous tasks while limiting the number of tasks running concurrently::
##################### #####################

Loading…
Cancel
Save