Then the installation failed again with the error:
ERROR! ‘always’ keyword cannot be used without ‘block’
The error appears to be in ‘/opt/bahmni-installer/bahmni-playbooks/roles/bahmni-backup-upload-directories/tasks/main.yml’: line 14, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
What would happenned if I did this on the old server
[mysql-backup-tool]
new_Server_IP
[postgres-backup-tool]
new_Server_IP
[bahmni-backup-artifacts]
new_Server_IP
Then I run the Bahmni Backup-all to backup all databases and files to the new server.
Then I can run Bahmni restore from the new server on a fresh Bahmni installation
Bahmni 0.93 uses ansible 2.4.6 … maybe thats the issue?
How was ansible installed? Bahmni install scripts should download ansible from this location, by default.
On the Old server I had a problem installing bahmni -i local install
I used this and it worked bahmni -i local -aru http://repo.mybahmni.org/releases/ansible-2.4.6.0-1.el7.ans.noarch.rpm install