1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed called to find plugin, transport is not needed as suffixes are passed

This commit is contained in:
Brian Coca 2015-04-03 00:01:32 -04:00
parent 7a81167b06
commit 25f071b64c

View file

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