You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2021. It is now read-only.
The repository git://github.com/Homebrew/homebrew.git is now deprecated, causing this role to fail when attempting to install homebrew. This can be verified by cloning the above repository and reading the README.md file.
Since the hombrew repositories have been split into two parts, I'm not certain what the quick fix is for this role.
The text was updated successfully, but these errors were encountered:
My quick fix was to install brew using the curl method (/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)") before running the role.
So the playbook looks like this:
# Determine if homebrew is installed and install it if not.
#
- hosts: all
gather_facts: false
tasks:
- name: Determine if brew binary exists
stat: path=/usr/local/bin/brew
register: brew_binary
changed_when: false
- name: install homebrew
shell: >
/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
< /dev/null
when: brew_binary.stat.exists == false
# Install homebrew taps and apps, and any casks specified in variables
#
- hosts: all
roles:
- geerlingguy.homebrew
You can unpack what the install script is doing with the two github repositories and submit a PR to fix this role in the way that @geerlingguy intended instead of the quick and dirty fix.
The repository git://github.com/Homebrew/homebrew.git is now deprecated, causing this role to fail when attempting to install homebrew. This can be verified by cloning the above repository and reading the README.md file.
Since the hombrew repositories have been split into two parts, I'm not certain what the quick fix is for this role.
The text was updated successfully, but these errors were encountered: