diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 456c7f546a..3f3c8e546a 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -569,15 +569,6 @@ class PlayBook(object): self.callbacks.on_no_hosts_remaining() return False - # run notify actions - #for handler in play.handlers(): - # if len(handler.notified_by) > 0: - # self.inventory.restrict_to(handler.notified_by) - # self._run_task(play, handler, True) - # self.inventory.lift_restriction() - # handler.notified_by = [] - # handler.notified_by = [] - self.inventory.lift_also_restriction() return True