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

Ansible-galaxy download problem with version #41

Open
jadjay opened this issue Sep 17, 2019 · 0 comments
Open

Ansible-galaxy download problem with version #41

jadjay opened this issue Sep 17, 2019 · 0 comments

Comments

@jadjay
Copy link

jadjay commented Sep 17, 2019

Ansible Version: 2.8.0
InfluxDB Version: Irrelevant

Issue

Your roles isn't download with ansible-galaxy because your versions tags aren't using the same format

Steps to reproduce

requirements.yml

- mtchavez.influxdb
$ ansible-galaxy install -r requirements
 [WARNING]: - mtchavez.influxdb was NOT installed successfully: Unable to compare role versions (v3.0.2, v4.0.0, 1.0.2, 1.0.1, v6.0.0, v2.0.5, v2.1.1, v2.1.0, 2.0.0, 2.0.4,
2.0.1, v3.0.1, v3.0, 2.0.2, 2.0.3, v5.0.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.

Expected behavior

- downloading role 'influxdb', owned by mtchavez
- downloading role from https://github.com/mtchavez/ansible-influxdb/archive/v6.0.0.tar.gz
- extracting mtchavez.influxdb to /cygdrive/c/Users/javond/Desktop/perso/ansible/alolise/ansible/roles/mtchavez.influxdb
- mtchavez.influxdb (v6.0.0) was installed successfully

Troubleshooting

Set version in requirements, let you download the good version

requirements.yml

- src: mtchavez.influxdb
  version: v6.0.0
- downloading role 'influxdb', owned by mtchavez
- downloading role from https://github.com/mtchavez/ansible-influxdb/archive/v6.0.0.tar.gz
- extracting mtchavez.influxdb to /cygdrive/c/Users/javond/Desktop/perso/ansible/alolise/ansible/roles/mtchavez.influxdb
- mtchavez.influxdb (v6.0.0) was installed successfully
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

No branches or pull requests

1 participant