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

Unable to install collection from git due to missing version in galaxy.yml #59

Closed
dmsimard opened this issue Nov 3, 2020 · 2 comments · Fixed by #60
Closed

Unable to install collection from git due to missing version in galaxy.yml #59

dmsimard opened this issue Nov 3, 2020 · 2 comments · Fixed by #60
Assignees

Comments

@dmsimard
Copy link

dmsimard commented Nov 3, 2020

SUMMARY

According to the documentation we should be able to install collections from git but for openvswitch.openvswitch, it fails due to a lack of version in the galaxy.yml file.

ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
ansible 2.10.3
STEPS TO REPRODUCE
ansible-galaxy collection install git+https://github.com/ansible-collections/openvswitch.openvswitch
EXPECTED RESULTS

Collection is installed successfully

ACTUAL RESULTS
> ansible-galaxy collection install git+https://github.com/ansible-collections/openvswitch.openvswitch
Starting galaxy collection install process
Process install dependency map
ERROR! The collection galaxy.yml at '/home/dmsimard/.ansible/tmp/ansible-local-13386898nki5xno/tmphz_7siqo/openvswitch.openvswitch/galaxy.yml' is missing the following mandatory keys: version
@pabelanger
Copy link
Contributor

So, I think for the we need to update ansible-galaxy CLI to handle it missing. Or we expose something like

tox -ebuild

to generate a tarball to install from

@NilashishC
Copy link
Collaborator

NilashishC commented Nov 4, 2020

So, I think for the we need to update ansible-galaxy CLI to handle it missing. Or we expose something like

tox -ebuild

to generate a tarball to install from

@pabelanger Agreed. This ideally needs to be fixed in ansible-galaxy. #60 is just a workaround until that happens.

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

Successfully merging a pull request may close this issue.

3 participants