Fix sudoers to use conditional deploy_username
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user