Make sure callbacks are loaded in the tqm a bit earlier

Fixes #11463
This commit is contained in:
James Cammarata 2015-07-02 02:50:57 -04:00
parent 1b74102ab3
commit 08ad05c83b
2 changed files with 12 additions and 15 deletions

View file

@ -122,6 +122,9 @@ class PlaybookExecutor:
entry['plays'].append(p)
else:
# make sure the tqm has callbacks loaded
self._tqm.load_callbacks()
# we are actually running plays
for batch in self._get_serialized_batches(new_play):
if len(batch) == 0: