mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
sudo -u works now. Needs testing and maybe a bit of cleanup
This commit is contained in:
parent
2cd8d7b5e4
commit
5582e6a4f1
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ 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…
Add table
Add a link
Reference in a new issue