TASK [postgres : Install postgresql] **************************************************************************************************************************************************
task path: /opt/bahmni-installer/bahmni-playbooks/roles/postgres/tasks/main.yml:15
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “No package matching ‘postgresql96-server.x86_64’ found available, installed or updated”, “rc”: 126, “results”: [“No package matching ‘postgresql96-server.x86_64’ found available, installed or updated”]}
to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry
PLAY RECAP ****************************************************************************************************************************************************************************
localhost : ok=14 changed=0 unreachable=0 failed=1
Traceback (most recent call last):
File “/usr/bin/bahmni”, line 9, in
load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)()
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib64/python2.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/usr/lib64/python2.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “build/bdist.linux-x86_64/egg/bahmni.py”, line 90, in install
File “/usr/lib64/python2.7/subprocess.py”, line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars ‘@/etc/bahmni-installer/rpm_versions.yml’ --extra-vars ‘@/etc/bahmni-backrest.conf’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’ -t bahmni-lab’ returned non-zero exit status 2
[root@cjesolbuildvm opt]#
The issue around postgres installation step has been resolved and the Install steps are updated in the Wiki page. . Refer to this Talk thread for more information around the fix.