christian-posta / openshift-terraform-ansible

Automate provisioning of OpenShift Origin/Enterprise with infrastructure as code
47 stars 41 forks source link

Openshift Install on AWS - Stuck in Final Step #7

Open sathishsandu opened 6 years ago

sathishsandu commented 6 years ago

Hi I am in the last step where you install openshift (Run the OpenShift installer). I have created the inventory file. You specified to use the following command:

ansible-playbook -i ./inventory --private-key=/location/to/private/keys ../../openshift-ansible/playbooks/byo/config.yml

But there is no 'config.yml' in 'byo' folder in your repo. I get this error when I run that command:

[root@ip-10-x-x-x ec2]# ansible-playbook -i ./inventory --private-key=/root/.ssh/osekeypair.pem ../../openshift-ansible/playbooks/byo/config.yml ERROR! the playbook: ../../openshift-ansible/playbooks/byo/config.yml could not be found

I am trying to install openshift on AWS EC2 instances. I already have vpc, subnets, security groups etc provisioned (manually). I have 1 master, 1 node provisioned using the terraform steps you specified. The prep stuff is done (docker install/setup etc.) So I followed all the steps until the last step: Run the OpenShift installer Please let me know which ansible aws playbook I should use for running the openshift install command. There are bunch of yml files in this folder: /home/ec2-user/openshift-ansible/playbooks/aws

Thank you Sathish.