diff options
-rw-r--r-- | hosts/jenkins/etc/sudoers.d/jenkins | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins index 901bcf41..95061a32 100644 --- a/hosts/jenkins/etc/sudoers.d/jenkins +++ b/hosts/jenkins/etc/sudoers.d/jenkins @@ -48,5 +48,10 @@ jenkins ALL= \ /usr/sbin/slay 2222, \ /usr/sbin/slay jenkins +jenkins ALL= \ + (postgres) NOPASSWD: /usr/bin/psql *, \ + /usr/bin/createuser *, \ + /usr/bin/createdb * + # keep these environment variables Defaults env_keep += "http_proxy", env_reset |