diff --git a/lib/ansible/executor/task_executor.py b/lib/ansible/executor/task_executor.py index db8ab9b7fa1..f45b56af855 100644 --- a/lib/ansible/executor/task_executor.py +++ b/lib/ansible/executor/task_executor.py @@ -330,7 +330,6 @@ class TaskExecutor: # Restore the name parameter if name is not None: self._task.args['name'] = name - pass return items def _execute(self, variables=None):