diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index af28114a208..0232f5b86e8 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -322,8 +322,9 @@ class PlayBook(object): ansible.callbacks.set_play(self.runner_callbacks, play) if not self._run_play(play): break - ansible.callbacks.set_play(self.callbacks, None) - ansible.callbacks.set_play(self.runner_callbacks, None) + + ansible.callbacks.set_play(self.callbacks, None) + ansible.callbacks.set_play(self.runner_callbacks, None) # summarize the results results = {}