From 5582e6a4f11854daf2d6a4d91f69dbedce114e0d Mon Sep 17 00:00:00 2001 From: Jim Richardson Date: Thu, 3 May 2012 17:11:21 -0700 Subject: [PATCH] sudo -u works now. Needs testing and maybe a bit of cleanup --- lib/ansible/runner.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py index 2f45547c63..5c52c17f13 100644 --- a/lib/ansible/runner.py +++ b/lib/ansible/runner.py @@ -145,7 +145,6 @@ 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]