ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
830 stars 1.53k forks source link

homebrew module needs '--overwrite' parameter #2179

Open artis3n opened 3 years ago

artis3n commented 3 years ago

Summary

Reproducing from https://github.com/ansible/ansible/issues/18860 as I am hitting this issue and saw it was unresolved prior to migrating to the community collection.

Issue Type

Feature Idea

Component Name

homebrew

Additional Information

There are various cases when passing --overwrite to a homebrew action is useful. In my specific case, awscli is already linked as 1.x and the current brew package installs 2.x. I want to force link the new package but cannot through the community.general.homebrew module. My current workaround is to run brew unlink awscli; brew link --overwrite awscli; as a shell module and I feel dirty.

Code of Conduct

I agree to follow the Ansible Code of Conduct

ansibullbot commented 3 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 years ago

cc @Akasurde @danieljaouen @indrajitr @kyleabenson @martinm82 click here for bot help

artis3n commented 3 years ago

!component +plugins/modules/packaging/os/homebrew.py

artis3n commented 3 years ago

Well I don't know if I can use that command but the affected component is homebrew.py not homebrew_tap.py

ansibullbot commented 3 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 years ago

cc @andrew-d click here for bot help

artis3n commented 3 years ago

!component -plugins/modules/packaging/os/homebrew_tap.py

ansibullbot commented 3 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 years ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

dmsimard commented 3 years ago

!component plugins/modules/packaging/os/homebrew.py

felixfontein commented 3 years ago

!component =plugins/modules/packaging/os/homebrew.py

ansibullbot commented 3 years ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help