Skip to content

Commit

Permalink
Git fails if Homebrew is already installed
Browse files Browse the repository at this point in the history
If brew is already installed, don't need to pull it again.
  • Loading branch information
guruevi authored Aug 9, 2024
1 parent 7f5765b commit a5084aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/homebrew/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
depth: 1
become: true
become_user: "{{ homebrew_user }}"
when: not pre_installed_brew.stat.exists

# Adjust Homebrew permissions.
- name: Ensure proper permissions and ownership on homebrew_brew_bin_path dirs.
Expand Down

0 comments on commit a5084aa

Please sign in to comment.