RedHat Subscription Manager enable/disable repos

After registering to a subscription using the redhat_subscription module, I would then like to enable and disable some repos.
This task would be done manually using “subscription-manager repos --enable=myrepo”
Would using the yum_repository module work to do this? Or is there another solution because it uses RHSM?