-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running straight from clone installation throws exception - Brew Casks Functionality Broken #196
Comments
Issue is found here in the homebrew. I see Jeff you commented on Ansible version being the issue - I'll see if that makes a difference. ansible-collections/community.general#1524 |
I've found the root of the issue. When homebrew is first installed in the VM that I am using to test the installation, running the command
If I run In @geerlingguy's tasks/main.yml there is a step that should force an update, post installation of brew, when "not homebrew_binary.stat.exists", but that is being skipped, as I assume that does exist. Should it not be forced regardless? Clearly, I can run the Ansible script several times, but that feels wrong. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! Please read this blog post to see the reasons why I mark issues as stale. |
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
Followed the steps provided, and I did not provide a custom config.yml, so using default 'default.config.yml'. When it comes to processing homebrew_cask_apps, it throws this error for every entry in the 'homebrew_cask_apps':
I can see where the error is (homebrew_cask.py), I'm struggling to find where that code resides, so I can work out what has gone wrong.
I know that the way in which Casks are installed has recently changed in homebrew, so I removed them and provided an empty 'homebrew_cask_apps' in the default config. The remainder of script then works. However, adding the cask list to the 'homebrew_installed_packages' did not work. Any suggestions on what needs to be fixed (happy to help), or a workaround?
The text was updated successfully, but these errors were encountered: