From 25f071b64c11a2142723fa698adba46e297fcbe7 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 3 Apr 2015 00:01:32 -0400 Subject: [PATCH] fixed called to find plugin, transport is not needed as suffixes are passed --- v2/ansible/plugins/action/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/ansible/plugins/action/__init__.py b/v2/ansible/plugins/action/__init__.py index e5600302158..2d258dd5250 100644 --- a/v2/ansible/plugins/action/__init__.py +++ b/v2/ansible/plugins/action/__init__.py @@ -83,7 +83,7 @@ class ActionBase: # Search module path(s) for named module. module_suffixes = getattr(self._connection, 'default_suffixes', None) - module_path = self._module_loader.find_plugin(module_name, module_suffixes, transport=self._connection.get_transport()) + module_path = self._module_loader.find_plugin(module_name, module_suffixes) if module_path is None: module_path2 = self._module_loader.find_plugin('ping', module_suffixes) if module_path2 is not None: