Skip to content
This repository has been archived by the owner. It is now read-only.

ansible-galaxy install --force no longer replaces roles #249

Closed
jxn opened this issue Apr 13, 2017 · 2 comments
Closed

ansible-galaxy install --force no longer replaces roles #249

jxn opened this issue Apr 13, 2017 · 2 comments

Comments

@jxn
Copy link

@jxn jxn commented Apr 13, 2017

After the version bump to 2.3.0, it seems install --force no longer forces an overwrite. We have been using this to "upgrade" roles stored in git, but they are no longer pulled in.

Here's the command used:
ansible-galaxy install --force -r ansible/requirements.yml -p ansible/roles/

Here's an example requirements.yml

---
- src: git@git.srv:ansible/linux-http.git
  scm: git
- src: git@git.srv:ansible/apache-php.git
  scm: git

Previously, when we pushed new role updates to master, these would be overwritten in the 'ansible/roles' directory with the above command. Now, these are not updated until we manually delete the roles in that folder. We get the following output:

- linux-http is already installed, skipping.
- apache-php is already installed, skipping.

As far as I can tell, force no longer does anything as of 2.3.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.