From 01d9af26e05b58f594b280549fb288f2ccd84453 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sun, 5 Jul 2015 15:50:16 -0400 Subject: [PATCH] pbrun not forced to use local daemon anymore --- lib/ansible/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/__init__.py b/lib/ansible/utils/__init__.py index a62c85529db..ff697ff871d 100644 --- a/lib/ansible/utils/__init__.py +++ b/lib/ansible/utils/__init__.py @@ -1253,7 +1253,7 @@ def make_become_cmd(cmd, user, shell, method, flags=None, exe=None): prompt = 'assword:' exe = exe or 'pbrun' flags = flags or '' - becomecmd = '%s -b -l %s -u %s "%s"' % (exe, flags, user, pipes.quote('echo %s; %s' % (success_key,cmd))) + becomecmd = '%s -b %s -u %s "%s"' % (exe, flags, user, pipes.quote('echo %s; %s' % (success_key,cmd))) elif method == 'pfexec': exe = exe or 'pfexec'