diff options
Diffstat (limited to 'lib/ansible/executor/task_executor.py')
-rw-r--r-- | lib/ansible/executor/task_executor.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ansible/executor/task_executor.py b/lib/ansible/executor/task_executor.py index 6c74f5d87b..99d611417b 100644 --- a/lib/ansible/executor/task_executor.py +++ b/lib/ansible/executor/task_executor.py @@ -768,8 +768,7 @@ class TaskExecutor: elif all((module_prefix in network_group_modules, module_prefix in self._shared_loader_obj.action_loader)): handler_name = module_prefix else: - pc_conn = self._shared_loader_obj.connection_loader.get(self._play_context.connection, class_only=True) - handler_name = getattr(pc_conn, 'action_handler', 'normal') + handler_name = 'normal' handler = self._shared_loader_obj.action_loader.get( handler_name, |