Skip to content
New issue

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

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

Already on GitHub? # to your account

ansible-galaxy requirements contains git repo #132

Open
wstraszak opened this issue Jun 26, 2023 · 0 comments
Open

ansible-galaxy requirements contains git repo #132

wstraszak opened this issue Jun 26, 2023 · 0 comments

Comments

@wstraszak
Copy link

wstraszak commented Jun 26, 2023

Hi, after issuing
docker run -i --rm -v $(pwd):/data cytopia/ansible ansible-galaxy collection install --requirements-file ansible/requirements.yml
I'm getting:
ERROR! Could not find git executable to extract the collection from the Git repository `git@github.com:REDACTED.git`.
Is this to be expected?

I'm trying to install my private collection that I stored on my github repo.
When using Kubuntu's 23.04 ansible it's going with no problem:

# ansible-galaxy --version
ansible-galaxy [core 2.14.2]
(...)

Is it just a git not installed within the docker image?

BTW, great work! I'm using your's docker ansible-lint for a few months and it helped me a lot with my daily work.

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

No branches or pull requests

1 participant