From 450caf40089398f1eb4d223b6aa0681b316ee04c Mon Sep 17 00:00:00 2001 From: Robin Ricard Date: Sat, 6 Sep 2014 15:01:09 +0200 Subject: [PATCH] Enable everyone in staff to operate on homebrew --- tasks/clone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/clone.yml b/tasks/clone.yml index 2be023a..18971ce 100644 --- a/tasks/clone.yml +++ b/tasks/clone.yml @@ -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