Coder Social home page Coder Social logo

Comments (7)

geerlingguy avatar geerlingguy commented on May 12, 2024 3

I've published a blog post about this: Ansible Galaxy error 'Unable to compare role versions'.

Quick fix is to force cloning from GitHub in your role requirements.yml file:

---
roles:
  - name: geerlingguy.pip
    src: https://github.com/geerlingguy/ansible-role-pip.git
    version: 3.0.0

from ansible-role-pip.

FuzzyMistborn avatar FuzzyMistborn commented on May 12, 2024

Seeing this too, so not just you.

Seems to be an issue on Ansible Galaxy. I see this when I visit the page:

Failed to load role versions
Error 404 - : <!doctype html> <html lang="en"> <head> <title>Not Found</title> </head> <body> <h1>Not Found</h1><p>The requested resource was not found on this server.</p> </body> </html>

from ansible-role-pip.

geerlingguy avatar geerlingguy commented on May 12, 2024

This seems to be an issue with Galaxy. I've opened a forum topic to ask for help: Role import from GitHub results in "master" release, not the tag release, breaking installs

from ansible-role-pip.

pniaps avatar pniaps commented on May 12, 2024

Same problem here.

from ansible-role-pip.

distributev avatar distributev commented on May 12, 2024

Same here.

Any workaround?

I use things like

dependencies:

  • geerlingguy.pip

in meta/main.yml

and

roles:

  • geerlingguy.pip

in

requirements-roles.yml

I believe I need to add explicit version like 2.2.0 or 3.0.0 but not sure how and where in both meta/main.yml and requirements-roles.yml or just in one file?

from ansible-role-pip.

geerlingguy avatar geerlingguy commented on May 12, 2024

Also related: ansible/galaxy_ng#1946 (the fix)

from ansible-role-pip.

geerlingguy avatar geerlingguy commented on May 12, 2024

Should be fixed now: https://galaxy.ansible.com/ui/standalone/roles/geerlingguy/pip/

from ansible-role-pip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.