geerlingguy/mac-dev-playbook

Tapping homebrew/cask is no longer typically necessary

javydekoning opened this issue · 3 comments

Ref:

https://github.com/geerlingguy/mac-dev-playbook/blob/master/default.config.yml#L68

https://github.com/geerlingguy/mac-dev-playbook/actions/runs/7284212083/job/19849267780#step:8:109

Will cause CI to fail:

TASK [geerlingguy.mac.homebrew : Ensure configured taps are tapped.] ***********
changed: [localhost] => (item=aws/tap)
failed: [localhost] (item=homebrew/cask) => {"ansible_loop_var": "item", "changed": false, "item": "homebrew/cask", "msg": "added: 0, unchanged: 0, error: failed to tap: homebrew/cask due to \u001b[31mError:\u001b[0m Tapping homebrew/cask is no longer typically necessary.\nAdd \u001b[1m--force\u001b[0m if you are sure you need it done.\n"}
failed: [localhost] (item=homebrew/core) => {"ansible_loop_var": "item", "changed": false, "item": "homebrew/core", "msg": "added: 0, unchanged: 0, error: failed to tap: homebrew/core due to \u001b[31mError:\u001b[0m Tapping homebrew/core is no longer typically necessary.\nAdd \u001b[1m--force\u001b[0m if you are sure you need it done.\n"}
changed: [localhost] => (item=kubecolor/tap)
changed: [localhost] => (item=robscott/tap)
changed: [localhost] => (item=homebrew/cask-fonts)

I'm running into the same issue too

Getting same issue. Anyway to bypass this temporarily with any parameters or variables?

You can override in your own playbook by setting homebrew_taps: [] in your config.yml, or just pull the latest version here—see above commit.