mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fix for user defined modules not overriding modules from core.
This fix takes into account that powershell modules are somewhat different than regular modules and have to be kept separate.
This commit is contained in:
parent
f61fb9787d
commit
18e2ee16ef
4 changed files with 128 additions and 61 deletions
|
@ -52,10 +52,11 @@ from ansible.utils.unicode import to_bytes, to_unicode
|
|||
class Connection(ConnectionBase):
|
||||
'''WinRM connections over HTTP/HTTPS.'''
|
||||
|
||||
module_implementation_preferences = ('.ps1', '')
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
self.has_pipelining = False
|
||||
self.default_suffixes = ['.ps1', '']
|
||||
self.protocol = None
|
||||
self.shell_id = None
|
||||
self.delegate = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue