Follow instructions from: https://docs.openshift.com/container-platform/3.10/getting_started/install_openshift.html
subscription-manager register
subscription-manager refresh
subscription-manager list --available
Find the pool ID for the one that had OpenShift, and enable/disable repos:
subscription-manager attach --pool=<pool ID>
subscription-manager repos --disable=rhel-7-server-htb-rpms \
--enable="rhel-7-server-rpms" \
--enable="rhel-7-server-extras-rpms" \
--enable="rhel-7-server-ose-3.10-rpms" \
--enable="rhel-7-fast-datapath-rpms" \
--enable="rhel-7-server-ansible-2.4-rpms"
Install needed packages:
yum -y install wget git net-tools bind-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct iptables
Get the inventory for local install of single node cluster:
wget https://gist.githubusercontent.com/leongold/ffb8dd8bfc282fed612bec40de69cb1b/raw/c64ec055751b758a59b13eca6ab1721c40a39f40/gistfile1.txt
And change the IP address in it. Then install OpenShift:
ansible-playbook -i gistfile1.txt /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml
ansible-playbook -i gistfile1.txt /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml