Comments (2)
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
from mac-dev-playbook.
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 brew --version
returns the string "Homebrew >=4.1.0 (shallow or no git repository)", which cannot be correctly parsed by the code in homebrew_cask.py
in the function def _get_brew_version(self):
on line 498, that in turn throws an issue on line 513:
return LooseVersion(self._get_brew_version()) >= LooseVersion('2.6.0')
If I run brew update
and then brew --version
it nows returns "Homebrew 4.2.9", and if the Ansible script is re-run, everything works.
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.
from mac-dev-playbook.
Related Issues (20)
- Is it possible to configure this playbook to install and configure VS code? HOT 6
- [ERROR]: failed to download the file: HTTP Error 404: Not Found (when file does exist) HOT 1
- Document running playbook against local macOS VM for testing HOT 3
- Ansible script stuck when running on macOS Big Sur 11.16.8 HOT 2
- Dockutil not working when running through SSH HOT 4
- Dot file fails and crashes runs
- “JJG-Term.terminal” cannot be opened because it is from an unidentified developer.
- Running playbook only achieves taps and cask installation HOT 10
- MariaDB Role for MacOS HOT 2
- Role - AssetCache Server for OSX HOT 2
- dotfile_repo_version default value breaking playbook HOT 2
- become = true needs to be become = True HOT 1
- CI fails installing npm packages HOT 2
- Tapping homebrew/cask is no longer typically necessary HOT 3
- Is the `sed_path` variable still needed HOT 2
- custom fonts HOT 1
- Discussions are disabled for this project on github repo HOT 2
- mcrypt fails to install on Sanoma HOT 3
- dockutil not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mac-dev-playbook.