mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-08 17:29:11 -07:00
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:
parent
2d14cdc5ac
commit
48b02336ab
9 changed files with 4 additions and 413 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue