1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Homebrew: Update _uninstall_current_package to use the --force option (#33360)

This commit is contained in:
Daniel Jaouen 2018-05-05 13:03:05 -04:00 committed by ansibot
parent f210bbec50
commit 63ce4cf03d

View file

@ -687,7 +687,7 @@ class Homebrew(object):
raise HomebrewException(self.message) raise HomebrewException(self.message)
opts = ( opts = (
[self.brew_path, 'uninstall'] [self.brew_path, 'uninstall', '--force']
+ self.install_options + self.install_options
+ [self.current_package] + [self.current_package]
) )