mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-04 00:01:30 -07:00
fixed called to find plugin, transport is not needed as suffixes are passed
This commit is contained in:
parent
7a81167b06
commit
25f071b64c
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class ActionBase:
|
||||||
|
|
||||||
# Search module path(s) for named module.
|
# Search module path(s) for named module.
|
||||||
module_suffixes = getattr(self._connection, 'default_suffixes', None)
|
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:
|
if module_path is None:
|
||||||
module_path2 = self._module_loader.find_plugin('ping', module_suffixes)
|
module_path2 = self._module_loader.find_plugin('ping', module_suffixes)
|
||||||
if module_path2 is not None:
|
if module_path2 is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue