diff --git a/library/packaging/redhat_subscription b/library/packaging/redhat_subscription index 0e5ce0856d..f9918ada4b 100644 --- a/library/packaging/redhat_subscription +++ b/library/packaging/redhat_subscription @@ -327,7 +327,7 @@ class RhsmPools(object): def main(): # Load RHSM configuration from file - rhn = Rhsm(AnsibleModule()) + rhn = Rhsm(None) module = AnsibleModule( argument_spec = dict(