mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix 'module' object is not callable
This commit is contained in:
committed by
Toshio Kuratomi
parent
f9404b0d85
commit
dbc422ea1c
@@ -122,7 +122,7 @@ def main():
|
|||||||
password = module.params['password']
|
password = module.params['password']
|
||||||
|
|
||||||
# initialize connection
|
# initialize connection
|
||||||
client = xmlrpc_client(saturl)
|
client = xmlrpc_client.Server(saturl)
|
||||||
session = client.auth.login(user, password)
|
session = client.auth.login(user, password)
|
||||||
|
|
||||||
# get systemid
|
# get systemid
|
||||||
|
|||||||
Reference in New Issue
Block a user