summaryrefslogtreecommitdiffstats
path: root/roles/local_deploy/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-16 17:11:22 +0100
committerMichael Scherer <misc@zarb.org>2014-12-16 17:11:22 +0100
commit938bf3c804ef28e3a68e8d3eddc6cb97c03ee3b2 (patch)
tree3bcf196c3244146ac5bb352777c51cafa217eaa5 /roles/local_deploy/templates
parente9b939228d5a6e41652963615e7a4cebd671fece (diff)
Use sudo to deploy and run ansible as a regular user
Diffstat (limited to 'roles/local_deploy/templates')
-rw-r--r--roles/local_deploy/templates/extract.sudoers1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/local_deploy/templates/extract.sudoers b/roles/local_deploy/templates/extract.sudoers
new file mode 100644
index 0000000..37cda43
--- /dev/null
+++ b/roles/local_deploy/templates/extract.sudoers
@@ -0,0 +1 @@
+%admins ALL=(ALL) NOPASSWD: /usr/local/bin/extract_wrapper.sh {{ git_repositories_dir }}/{{ item }}