Skip to content

Commit

Permalink
Enable everyone in staff to operate on homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
rricard committed Sep 6, 2014
1 parent c050c23 commit 450caf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

- name: fix user acl on clone_dir and clean up install_dir
file: path={{ item.path }} state={{ item.state|default('directory') }}
owner={{ ansible_user_id }} group=staff mode=0755
owner={{ ansible_user_id }} group=staff mode={{ item.mode|default('0664') }}
with_items:
- { path: '{{ clone_dir }}' }
- { path: '{{ clone_dir }}/bin' }
- { path: '{{ clone_dir }}/bin', mode: '0775' }
- { path: '{{ install_dir }}' , state: 'absent' }
when: brew_installed.stat.exists == false

Expand Down

0 comments on commit 450caf4

Please sign in to comment.