Fix sudoers to use conditional deploy_username
This commit is contained in:
parent
70ba4b240f
commit
da9eafcdfa
|
@ -6,7 +6,7 @@ Defaults mail_badpass
|
|||
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
root ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
deploy ALL=(ALL:ALL) NOPASSWD: /bin/sh
|
||||
{{ deploy_username }} ALL=(ALL:ALL) NOPASSWD: /bin/sh
|
||||
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
|
||||
#includedir /etc/sudoers.d
|
||||
|
|
Loading…
Reference in New Issue