I tried again by executing “yum clean all” and re-running the installer. I still get the error at the same point but the error message this time was different:
TASK [httpd : Install bahmni-certs from bahmni-repo] ***************************
task path: /opt/bahmni-installer/bahmni-playbooks/roles/httpd/tasks/main.yml:39
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failure talking to yum: Cannot find a valid baseurl for repo: base”}
The output for “cat /etc/yum.repos.d/bahmni.repo” is:
[bahmni]
name=Bahmni TW Repository for RHEL/ CentOS 6
baseurl=https://dl.bintray.com/bahmni/rpm/
enabled=1
Looks like you are not able to access Bintray. Can you please check if you are able to access https://dl.bintray.com/bahmni/rpm/ from your browser? Or else run wget -O - https://dl.bintray.com/bahmni/rpm/ and see if it gives error.
Thanks for your response Jaswanth. I am doing remote deployment. When I did wget on our local server, it connects to the url specified (and also from the browser locally). However, on remote server, wget could not connect. Seems to be the firewall or something on that network not allowing the link to be accessed.
Changed the dns server. Now able to connect to https://dl.bintray.com/bahmni/rpm/ using wget, however, I am still getting yum error when deploying bahmni.
“fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failure talking to yum: Cannot find a valid baseurl for repo: base”}”