first bit of getting sudo -u functionality

This commit is contained in:
Jim Richardson 2012-05-03 16:08:36 -07:00 committed by Michael DeHaan
parent 8d39ae709c
commit 2cd8d7b5e4

View file

@ -145,6 +145,7 @@ class Runner(object):
self.basedir = basedir
self.sudo = sudo
self.sudo_pass = sudo_pass
self.sudo_user = sudo_user
self.is_playbook = is_playbook
euid = pwd.getpwuid(os.geteuid())[0]