Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error using ansible playbook #5

Open
jhb2 opened this issue Oct 19, 2024 · 0 comments
Open

fatal error using ansible playbook #5

jhb2 opened this issue Oct 19, 2024 · 0 comments

Comments

@jhb2
Copy link

jhb2 commented Oct 19, 2024

Hello,

I'm using the ansible playbook to deploy vespAI, on the control node when I launch :

ansible-playbook /home/jhb/vespai/vespai-git/deploy/rpi-playbook.yml --inventory=192.168.1.60, --extra-vars "user=jhb vespai_repo=https://github.com/andrw3000/vespai.git vespai_branch=ansible-deployment"

I got:

PLAY [all] *******************************************************************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************************************************************
[WARNING]: Platform linux on host 192.168.1.60 is using the discovered Python interpreter at /usr/bin/python3.11, but future installation of another Python interpreter could change the
meaning of that path. See https://docs.ansible.com/ansible-core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [192.168.1.60]

TASK [Update apt repo cache and install git.] ********************************************************************************************************************************************
ok: [192.168.1.60]

TASK [Download VespAI git repo; recurse/fetch and track/update submodules.] **************************************************************************************************************
fatal: [192.168.1.60]: FAILED! => {"changed": false, "cmd": "/usr/bin/git checkout --force ansible-deployment", "msg": "Failed to checkout ansible-deployment", "rc": 1, "stderr": "error: pathspec 'ansible-deployment' did not match any file(s) known to git\n", "stderr_lines": ["error: pathspec 'ansible-deployment' did not match any file(s) known to git"], "stdout": "", "stdout_lines": []}

PLAY RECAP *******************************************************************************************************************************************************************************
192.168.1.60 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

The fatal error is of course the issue, what can I do to suppress it?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant