From 45076bddb93a3a7a5a8edf647e1f45a536b74715 Mon Sep 17 00:00:00 2001 From: Jan Hutar Date: Mon, 21 Mar 2016 12:10:37 +0100 Subject: [PATCH] Add missing parameters so these options are usable --- lib/ansible/modules/packaging/os/rhn_register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/rhn_register.py b/lib/ansible/modules/packaging/os/rhn_register.py index dcadb3d165c..80530254561 100644 --- a/lib/ansible/modules/packaging/os/rhn_register.py +++ b/lib/ansible/modules/packaging/os/rhn_register.py @@ -344,7 +344,7 @@ def main(): else: try: rhn.enable() - rhn.register(module.params['enable_eus'] == True, activationkey) + rhn.register(module.params['enable_eus'] == True, activationkey, profilename, sslcacert, systemorgid) rhn.subscribe(channels) except Exception, e: module.fail_json(msg="Failed to register with '%s': %s" % (rhn.hostname, e))