From 63ce4cf03dc33b6e32a79c37dd7752aa6fd9bd6c Mon Sep 17 00:00:00 2001 From: Daniel Jaouen Date: Sat, 5 May 2018 13:03:05 -0400 Subject: [PATCH] Homebrew: Update _uninstall_current_package to use the --force option (#33360) --- lib/ansible/modules/packaging/os/homebrew.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/homebrew.py b/lib/ansible/modules/packaging/os/homebrew.py index eec6936862..05f814efc0 100644 --- a/lib/ansible/modules/packaging/os/homebrew.py +++ b/lib/ansible/modules/packaging/os/homebrew.py @@ -687,7 +687,7 @@ class Homebrew(object): raise HomebrewException(self.message) opts = ( - [self.brew_path, 'uninstall'] + [self.brew_path, 'uninstall', '--force'] + self.install_options + [self.current_package] )