forked from evolix/ansible-roles
738f2682b0
And rollback to $LOGNAME when it isn't. This remove the need to add $LOGNAME to env_keep in the sudoers file. The $SUDO_USER variable is automatically set by sudo when it is used to the user who used it so it fullfill the same role as $LOGNAME do in phpContainer.
4 lines
83 B
Plaintext
4 lines
83 B
Plaintext
|
|
Defaults env_keep += "PWD"
|
|
ALL ALL = NOPASSWD: /usr/local/bin/phpContainer
|