Skip to content

Commit

Permalink
Remove command from macos install
Browse files Browse the repository at this point in the history
  • Loading branch information
Esolitos committed May 1, 2019
1 parent dda4613 commit 3c5677d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tasks/Darwin.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---

- name: Check for homebrew.
command: stat /usr/local/bin/brew
stat:
path: /usr/local/bin/brew
register: stat_homebrew
ignore_errors: True

- name: Install package.
homebrew: name=git state=present
when: stat_homebrew.rc == 0
homebrew:
name: git
state: present
when: stat_homebrew.stat.executable == True

0 comments on commit 3c5677d

Please sign in to comment.