geerlingguy / mac-dev-playbook

Mac setup and configuration via Ansible.
Other
6.01k stars 1.77k forks source link

Tapping homebrew/cask is no longer typically necessary #190

Closed javydekoning closed 10 months ago

javydekoning commented 11 months ago

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)
tjmaynes commented 10 months ago

I'm running into the same issue too

jtanmay-dev commented 10 months ago

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

geerlingguy commented 10 months ago

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.