-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Gem: Support force flag when uninstalling #5822
Gem: Support force flag when uninstalling #5822
Conversation
cc @None @johanwiren |
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
CC @rietvelde who recently also worked on this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Could you please add a changelog fragment? Thanks.
@felixfontein done! |
If nobody objects, I'll merge this in ~one week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5884 🤖 @patchback |
* Gem: Support force flag when uninstalling * Improve docs' syntax * Add changelog fragment (cherry picked from commit fe520a6)
…ninstalling (#5884) Gem: Support force flag when uninstalling (#5822) * Gem: Support force flag when uninstalling * Improve docs' syntax * Add changelog fragment (cherry picked from commit fe520a6) Co-authored-by: Juan Vela <[email protected]>
SUMMARY
Allow to use the
--force
flag when uninstalling gems. This is useful because when there are dependencies the gem binary will interactively ask for user confirmation and Ansible will hang forever.Fixes #5821
ISSUE TYPE
COMPONENT NAME
gem
ADDITIONAL INFORMATION
As can be seen on the picture below,
gem uninstall
implements the--force
flag.