diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-16 17:11:22 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-16 17:11:22 +0100 |
commit | 938bf3c804ef28e3a68e8d3eddc6cb97c03ee3b2 (patch) | |
tree | 3bcf196c3244146ac5bb352777c51cafa217eaa5 /roles/local_deploy/files/post-receive.private.sh | |
parent | e9b939228d5a6e41652963615e7a4cebd671fece (diff) |
Use sudo to deploy and run ansible as a regular user
Diffstat (limited to 'roles/local_deploy/files/post-receive.private.sh')
-rw-r--r-- | roles/local_deploy/files/post-receive.private.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/local_deploy/files/post-receive.private.sh b/roles/local_deploy/files/post-receive.private.sh index e6d6abb..527c520 100644 --- a/roles/local_deploy/files/post-receive.private.sh +++ b/roles/local_deploy/files/post-receive.private.sh @@ -1,2 +1,2 @@ #!/bin/sh -GIT_WORK_TREE=/etc/ansible/ git checkout -q -f +sudo /usr/local/bin/extract_wrapper.sh |