From abcfdbeeaf0a3375e6b579f94ec85dbb4ab51655 Mon Sep 17 00:00:00 2001 From: Jim Richardson Date: Thu, 3 May 2012 16:08:36 -0700 Subject: [PATCH] first bit of getting sudo -u functionality --- lib/ansible/runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py index 5c52c17f13a..2f45547c635 100644 --- a/lib/ansible/runner.py +++ b/lib/ansible/runner.py @@ -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]