Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
fix: remove become option at homebrew tasks
Browse files Browse the repository at this point in the history
```
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
```
  • Loading branch information
suzuki-shunsuke committed Jul 2, 2017
1 parent 39991d2 commit 791cf96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tasks/Darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
homebrew:
name: "{{ item }}"
items: "{{ gvm_darwin_build_dependencies }}"
become: "{{ gvm_nonroot }}"
when: gvm_is_dependencies_installed
1 change: 0 additions & 1 deletion tests/roles/git/tasks/Darwin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
- name: Install git
homebrew:
name: git
become: "{{ gvm_nonroot }}"

0 comments on commit 791cf96

Please sign in to comment.