From f1521f09b219cb299c40545b3a2b1a83e151069d Mon Sep 17 00:00:00 2001 From: Iegor Lopatin Date: Tue, 16 Apr 2024 23:37:42 +0200 Subject: [PATCH] Local fix of the Issue #7044 --- plugins/modules/homebrew.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/homebrew.py b/plugins/modules/homebrew.py index 5d471797a70..540a5cb9e1a 100644 --- a/plugins/modules/homebrew.py +++ b/plugins/modules/homebrew.py @@ -484,6 +484,7 @@ def _current_package_is_installed(self): cmd = [ "{brew_path}".format(brew_path=self.brew_path), "info", + "--formula", "--json=v2", self.current_package, ]