TASK [pg_hba : Add postgres authentication(pg_hba.conf) for replication] *******
fatal: [localhost]: FAILED! => {“failed”: true, “msg”: “the field ‘args’ has an invalid value, which appears to include a variable that is undefined. The error was: ‘dict object’ has no attribute u’bahmni-mart-db-slave’\n\nThe error appears to have been in ‘/etc/bahmni-mart-playbook/roles/pg_hba/tasks/main.yml’: line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add postgres authentication(pg_hba.conf) for replication\n ^ here\n”}
to retry, use: --limit @/etc/bahmni-mart-playbook/all.retry
PLAY RECAP *********************************************************************
localhost : ok=23 changed=7 unreachable=0 failed=1
when I run the following command
ansible-playbook -i /etc/bahmni-mart-playbook/inventories/bahmni-mart /etc/bahmni-mart-playbook/all.yml --extra-vars ‘@/etc/bahmni-mart-playbook/setup.yml’ --skip-tags “custom_ssl,lets_encrypt_ssl,authentication” -vv
I do not know the exact cause of the error you are getting but I can suggest that try commenting below parameters in setup.yml file and see if it works