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

Debug task:ansible deps #238

Closed
alex-matthews opened this issue Jan 10, 2024 · 3 comments
Closed

Debug task:ansible deps #238

alex-matthews opened this issue Jan 10, 2024 · 3 comments

Comments

@alex-matthews
Copy link
Owner

With the latest version of the template I am getting the following error (this is a clean fork):

$ task: [ansible:.venv] true &&  -m venv /Users/alex/flux-cluster-template/.venv
$ "-m": executable file not found in $PATH
$ task: Failed to run task "ansible:deps": exit status 127
@alex-matthews alex-matthews changed the title Debug task:ansible deps Debug task:ansible deps Jan 10, 2024
@alex-matthews
Copy link
Owner Author

alex-matthews commented Jan 10, 2024

onedr0p/cluster-template#1106 may be related, although I'm not using a devcontainer...

direnv itself doesn't seem to be the problem - it is hooked into my zsh shell and behaving as expected.

@philgood
Copy link

I had the same issue, resolved it by updating the file path in AnsibleTasks.yaml from:
true && {{.PYTHON_BIN}} -m venv {{.ROOT_DIR}}/.venv to
true && /opt/homebrew/bin/python3 -m venv {{.ROOT_DIR}}/.venv

@alex-matthews
Copy link
Owner Author

alex-matthews commented Jan 11, 2024

Perfect, thanks! 🙌

Looks like it's been fixed in upstream: onedr0p/cluster-template@9f5999e

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

No branches or pull requests

2 participants