Closed balaguduru closed 4 years ago
I verified the directory exists and the filename are accurate
Hi, this is exactly why it skipped, creates: "{{ sap_hana_deployment_zip_path }}" is wrong -- It need to test e.g. for the unpacked manifestfile or similar
creates: .{{ sap_hana_deployment_zip_path }} checks if the file sap_hana_deployment_zip_path exists and does not do anything, if it already exists. It is used as a marker that unarchive was successful. Hence you need to specify a particular file (if possible the last file that is unpacked) and if it is there remove it. for now I suggest checking for the hdblcm binary or the manifest file ...
Got it. That makes sense. Thank you for the clarification.
Unarchive step is skipping even after giving the right variables as required by the task.
playbook.yml
vars.yml
output of
ansible-playbook --connection=local --inventory 127.0.0.1, playbook.yml --extra-vars '@vars.yml'