summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-16 17:17:31 +0100
committerMichael Scherer <misc@zarb.org>2014-12-16 17:17:31 +0100
commit32252461608da9a268e91f82078595815d2e1eee (patch)
tree9e495629c5e133fda865059cf855367e68a30745 /roles
parent938bf3c804ef28e3a68e8d3eddc6cb97c03ee3b2 (diff)
Do not request a tty for admins ( so can be used with git hooks )
Diffstat (limited to 'roles')
-rw-r--r--roles/local_deploy/files/ansible_run.sudoers1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/local_deploy/files/ansible_run.sudoers b/roles/local_deploy/files/ansible_run.sudoers
index ea995ab..71d226c 100644
--- a/roles/local_deploy/files/ansible_run.sudoers
+++ b/roles/local_deploy/files/ansible_run.sudoers
@@ -1 +1,2 @@
+Defaults:%admins !requiretty
%admins ALL=(ALL) NOPASSWD: /usr/local/bin/ansible_run.sh