first bit of getting sudo -u functionality
This commit is contained in:
parent
8d39ae709c
commit
2cd8d7b5e4
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ class Runner(object):
|
||||||
self.basedir = basedir
|
self.basedir = basedir
|
||||||
self.sudo = sudo
|
self.sudo = sudo
|
||||||
self.sudo_pass = sudo_pass
|
self.sudo_pass = sudo_pass
|
||||||
|
self.sudo_user = sudo_user
|
||||||
self.is_playbook = is_playbook
|
self.is_playbook = is_playbook
|
||||||
|
|
||||||
euid = pwd.getpwuid(os.geteuid())[0]
|
euid = pwd.getpwuid(os.geteuid())[0]
|
||||||
|
|
Loading…
Reference in a new issue