Skip to content

fatal error using ansible playbook #5

@jhb2

Description

@jhb2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions