diff --git a/lib/ansible/modules/packaging/os/rhn_channel.py b/lib/ansible/modules/packaging/os/rhn_channel.py index a64f9942051..c1359ecdea9 100644 --- a/lib/ansible/modules/packaging/os/rhn_channel.py +++ b/lib/ansible/modules/packaging/os/rhn_channel.py @@ -122,7 +122,7 @@ def main(): password = module.params['password'] # initialize connection - client = xmlrpc_client(saturl) + client = xmlrpc_client.Server(saturl) session = client.auth.login(user, password) # get systemid