code clean of old code from network modules updates (#21469)

* removes unused code
* removes module_utils/local.py
* removes plugins/action/network.py
* removes action_handler from connection plugins
* removes code to use action_handler in task_executor
* updates action plugins to subclass from normal
This commit is contained in:
Peter Sprygada 2017-02-15 12:46:30 -05:00 committed by GitHub
parent 2d14cdc5ac
commit 48b02336ab
9 changed files with 4 additions and 413 deletions

View file

@ -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,