IBM-Cloud / terraform-ibm-openshift

Provision IBM Cloud infrastructure with Terraform, and install Red Hat® OpenShift Container Platform 3.
15 stars 40 forks source link

Failing during 'make openshift' stage of install #10

Closed arvind-v closed 5 years ago

arvind-v commented 5 years ago

I get the following error during make openshift. It appears that the /usr/share/ansible directory on the bastion is not getting populated with the openshift-ansible directory or the associated playbooks.

# Install openshift
scp -o StrictHostKeyChecking=no ./templates/inventory.cfg root@$(terraform output bastion_public_ip):/root/
root@169.45.93.172's password: 
inventory.cfg                                                                                                                 100% 2428    14.0KB/s   00:00    
ssh -o TCPKeepAlive=yes -o ServerAliveInterval=50 -o StrictHostKeyChecking=no root@$(terraform output bastion_public_ip) 'ansible-playbook -i /root/inventory.cfg /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml'
root@169.45.93.172's password: 
ERROR! the playbook: /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml could not be found
make: *** [openshift] Error 1