diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 8728965e68d..bee4cd6745f 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -658,7 +658,7 @@ class PlayBook(object): # if no hosts remain, drop out if not host_list: if self.force_handlers: - task_errors == True + task_errors = True break else: return False