Skip to content
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

Git fails if Homebrew is already installed #111

Merged
merged 1 commit into from
Aug 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 Expand Up @@ -185,6 +186,6 @@
register: homebrew_brewfile
check_mode: false

- name: Install from Brewfile.

Check failure on line 189 in roles/homebrew/tasks/main.yml

View workflow job for this annotation

GitHub Actions / Lint

no-free-form

Avoid using free-form when calling module actions. (command)
command: "{{ homebrew_brew_bin_path }}/brew bundle chdir={{ homebrew_brewfile_dir }}"
when: homebrew_brewfile.stat.exists and homebrew_use_brewfile
Loading