"rhel-7-server-ansible-2.6-rpms is not a valid repository ID" error message being thrown when trying to enable the repository
Hoping one of the members here can help me. I am trying to install OCP 3.11 using a terraform script and I am getting the following error being thrown :[[0m^[[0mmodule.openshift.module.prepare_bastion.null_resource.run_playbook_create[0] (remote-exec): ^[[0;31mfatal: [172.16.55.2]: FAILED! => {"changed": false, "msg": "rhel-7-server-ansible-2.6-rpms is not a valid repository ID", "results": ["Repository 'rhel-7-server-ose-3.11-rpms' is enabled for this system", "Repository 'rhel-7-server-optional-rpms' is enabled for this system", "rhel-7-server-ansible-2.6-rpms is not a valid repository ID"]}^[[0m
When I run the following command on the command line also I get the same error.
[root@vg-boot terraform-openshift3-vmware-example]# subscription-manager repos --enable "rhel-7-server-ansible-2.6-rpms"
Error: 'rhel-7-server-ansible-2.6-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
I do have an OCP NFR Subscription.
What am I missing?
Any help would be greatly appreciated.
Thanks and Regards,
Vishy