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

tar dependencies aren't versioned #102

Closed
iainvm opened this issue Jan 30, 2020 · 1 comment
Closed

tar dependencies aren't versioned #102

iainvm opened this issue Jan 30, 2020 · 1 comment

Comments

@iainvm
Copy link

iainvm commented Jan 30, 2020

When using tar files to download dependencies the url for the dependency can change, but if the role name used in the dependency file is not changed, it is considered the same dependency and not re-downloaded.

This means to ensure the correct dependency is downloaded either --force-with-deps has to be used everywhere (since sub dependencies won't be updated if you just use --force) or you have to change the role name, forcing you to update the tasks using it.

If you do update the role name you'll slowly fill your ~/.ansible/roles with every version of the role you've ever used.

I purpose that either:

  • meta/main.yml should be able to hold a version number which is checked against.
  • the url used to download the role is stored beside the role in ~/.ansible/roles and checked against when a new role is installed with the same name.
@iainvm
Copy link
Author

iainvm commented Jan 30, 2020

woops wrong repo
wonder how many meant to go https://github.com/ansible/galaxy

@iainvm iainvm closed this as completed Jan 30, 2020
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