- Centos 7
- RedHat 7
- type of node
e2-highcpu-2
- minimum
12
nodes - usernames:
- bastion ->
terraform
- nodes ->
ansible
- bastion ->
Type of node or number of nodes can be easily changed in variables.tfvars
eval `ssh-agent`
ssh-add
ssh -A terraform@bastion.localdomain
yum install -y python3 python3-pip python3-six ansible git bind-utils
git clone https://github.com/openshift/openshift-ansible.git
cd openshift-ansible && git checkout release-3.11 && cd ..
cp openshift-ansible/inventory/hosts.example .
mv hosts.example inventory.ini
ansible-playbook -i inventory.ini openshift-ansible/playbooks/prerequisites.yml
ansible-playbook -i inventory.ini openshift-ansible/playbooks/deploy_cluster.yml