Skip to content
This repository has been archived by the owner on Nov 10, 2017. 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 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

@chouseknecht
Copy link
Contributor

Fixed in by Ansible PR #23391

@chouseknecht
Copy link
Contributor

This issue was moved to ansible/galaxy#74

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

No branches or pull requests

2 participants