angstwad/docker.ubuntu

Unable to compare role versions during install

Closed this issue · 2 comments

I've decided to upgrade the role and got this error:

$ ansible-galaxy install angstwad.docker_ubuntu
- downloading role 'docker_ubuntu', owned by angstwad
 [WARNING]: - angstwad.docker_ubuntu was NOT installed successfully: Unable to compare role versions (v2.2.3, 1.1.3, v2.1.0,
v2.5.2, v3.4.2, v3.7.0, v3.5.1, v1.1.1, v3.4.1, v2.1.3, v3.3.3, v2.2.2, v2.3.0, v3.0.0, v1.1.10, v2.1.4, v2.2, v2.4.1, v1.1.8,
v3.3.0, v3.4.7, v1.1.6, v2.4.0, v1.1.9, v3.6.0, v3.6.2, v2.1.2, v2.5.3, v3.4.5, v2.0.1, v3.3.1, v3.4.0, v3.2.0, v3.3.2, v2.5.1,
v3.4.6, v2.5.0, v3.1.0, 1.1.4, v2.0.2, v2.1.1, 1.1.5, v3.4.4, 1.1.2, v3.4.3, v3.8.0, v2.4.2, v3.5.2, v1.1.7, v3.6.1, v3.3.4,
v2.2.1, v3.5.0) to determine the most recent version due to incompatible version formats. Please contact the role author to resolve
versioning conflicts, or specify an explicit role version to install.

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.

The error shows up even if I delete the previously downloaded role and start installing from scratch. Any thoughts?

workaround

ansible-galaxy install angstwad.docker_ubuntu,v3.8.0

OS: macOS
ansible 2.7.6 (via homebrew)

This is due to the mix of tags that are numbers (1.1.5) and those that are strings (v3.4.5). Happy to have someone write a quick thing (one-liner, script) to relabel all tags to match the current format with vX.X.X. Otherwise I won't get to it for a bit.

This is resolved now