diff options
author | Alan Rominger <arominge@redhat.com> | 2022-09-06 21:45:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 21:45:29 +0200 |
commit | 15964dc3959472950db23ed6463c7f4e1978192c (patch) | |
tree | f63e6acd5696a8355ee81affd22104dc5c95d9ca /docs | |
parent | clear output follow mode flag on search (#12791) (diff) | |
parent | Add project sync to job cancel chain (diff) | |
download | awx-15964dc3959472950db23ed6463c7f4e1978192c.tar.xz awx-15964dc3959472950db23ed6463c7f4e1978192c.zip |
Merge pull request #11745 from AlanCoding/cancel_rework_no_close
Close database connections while processing job output
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ansible_runner_integration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ansible_runner_integration.md b/docs/ansible_runner_integration.md index 5475c6877d..e7ef0df887 100644 --- a/docs/ansible_runner_integration.md +++ b/docs/ansible_runner_integration.md @@ -8,7 +8,7 @@ In AWX, a task of a certain job type is kicked off (_i.e._, RunJob, RunProjectUp The callbacks and handlers are: * `event_handler`: Called each time a new event is created in `ansible-runner`. AWX will dispatch the event to `redis` to be processed on the other end by the callback receiver. -* `cancel_callback`: Called periodically by `ansible-runner`; this is so that AWX can inform `ansible-runner` if the job should be canceled or not. +* `cancel_callback`: Called periodically by `ansible-runner`; this is so that AWX can inform `ansible-runner` if the job should be canceled or not. Only applies for system jobs now, and other jobs are canceled via receptor. * `finished_callback`: Called once by `ansible-runner` to denote that the process that was asked to run is finished. AWX will construct the special control event, `EOF`, with the associated total number of events that it observed. * `status_handler`: Called by `ansible-runner` as the process transitions state internally. AWX uses the `starting` status to know that `ansible-runner` has made all of its decisions around the process that it will launch. AWX gathers and associates these decisions with the Job for historical observation. |