If you need help, see here
ansible -i hosts -m command -a "subscription-manager repos --disable '*'"
ansible -i hosts -m command -a "subscription-manager remove --all"
ansible -i hosts -m command -a "subscription-manager attach --pool NEW_POOL_ID"
ansible -i hosts -m command -a "subscription-manager repos --disable '*' \
--enable='rhel-7-server-rpms' \
--enable='rhel-7-server-extras-rpms' \
--enable='rhel-7-server-ose-3.9-rpms' \
--enable='rhel-7-fast-datapath-rpms' \
--enable='rhel-7-server-ansible-2.4-rpms'"
[masters]
master1
master2
master3
[etcd:children]
masters
[infra]
infra1
infra2
infra3
[app_nodes]
app1
app2
app3
[OSEv3:children]
masters
infra
app_nodes
thanks @jaredhocutt