Detection of already installed homebrew cask (#7870)

* fix: detect already installed cask

Use json output v2 to check if formulae and casks are installed

chore: add changelog fragment

* test: add homebrew cask specific tests

* refactor: change cask used in tests

* chore: apply suggestions to changelog fragment
This commit is contained in:
João Victor Silva 2024-01-27 06:23:52 -03:00 committed by GitHub
commit be3bfd6fa5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 213 additions and 94 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- homebrew - detect already installed formulae and casks using JSON output from ``brew info`` (https://github.com/ansible-collections/community.general/issues/864).