Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
awx modules wait on event processing finished (ansible#15152)
This change makes "wait: true" for jobs and syncs look at the event_processing_finished instead of finished field. Right now there is a race condition where a module might try to delete an inventory, but the events for an inventory sync have not yet finished. We have a RelatedJobsPreventDeleteMixin that checks for this condition. bulk jobs don't have event_processing_finished so we just use finished field in that case.
- Loading branch information