ONDC-Official / ondc-sdk

MIT License
38 stars 41 forks source link

Issue while running ansible playbook #14

Open athmadvara opened 1 year ago

athmadvara commented 1 year ago

command : sudo ansible-playbook -i ansible_hosts buyer-app-install-for-ssl.yaml Error : Could not find or access '/Users/administrator/Desktop/ondc-sdk/deploying_ansible/../biap-client-node-js/config' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option

buyer-app-install-for-ssl.yml Code:

Please find the below error details

The full traceback is: Traceback (most recent call last): File "/usr/local/Cellar/ansible/8.0.0/libexec/lib/python3.11/site-packages/ansible/plugins/action/copy.py", line 466, in run source = self._find_needle('files', source) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/ansible/8.0.0/libexec/lib/python3.11/site-packages/ansible/plugins/action/init.py", line 1455, in _find_needle return self._loader.path_dwim_relative_stack(path_stack, dirname, needle) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/ansible/8.0.0/libexec/lib/python3.11/site-packages/ansible/parsing/dataloader.py", line 341, in path_dwim_relative_stack raise AnsibleFileNotFound(file_name=source, paths=[to_native(p) for p in search]) ansible.errors.AnsibleFileNotFound: Could not find or access '/Users/administrator/Desktop/ondc-sdk/deploying_ansible/../biap-client-node-js/config' on the Ansible Controller. If you are using a module and expect the file to exist on the remote, see the remote_src option fatal: [65.1.39.31]: FAILED! => { "changed": false, "invocation": { "dest": "/home/ubuntu/biap-client-node-js/", "group": "ubuntu", "mode": "0755", "module_args": { "dest": "/home/ubuntu/biap-client-node-js/", "group": "ubuntu", "mode": "0755", "owner": "ubuntu", "src": "/Users/administrator/Desktop/ondc-sdk/deploying_ansible/../biap-client-node-js/config" }, "owner": "ubuntu", "src": "/Users/administrator/Desktop/ondc-sdk/deploying_ansible/../biap-client-node-js/config" }, "msg": "Could not find or access '/Users/administrator/Desktop/ondc-sdk/deploying_ansible/../biap-client-node-js/config' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option" }

athmadvara commented 1 year ago

@navdeep710 @BLR-0118 @bskrksyp9 @adityapatil123 Please us on the above issue