From 4802641de7a8f6693b2b5c400ff06dad57034f9b Mon Sep 17 00:00:00 2001 From: Axel Delmas Date: Tue, 15 Sep 2015 20:11:14 +0200 Subject: [PATCH] Added env_string in async_cmd --- lib/ansible/plugins/action/async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/async.py b/lib/ansible/plugins/action/async.py index b2fcd8756dd..af850b41cb3 100644 --- a/lib/ansible/plugins/action/async.py +++ b/lib/ansible/plugins/action/async.py @@ -55,7 +55,7 @@ class ActionModule(ActionBase): async_limit = self._task.async async_jid = str(random.randint(0, 999999999999)) - async_cmd = " ".join([str(x) for x in [async_module_path, async_jid, async_limit, remote_module_path, argsfile]]) + async_cmd = " ".join([str(x) for x in [env_string, async_module_path, async_jid, async_limit, remote_module_path, argsfile]]) result = self._low_level_execute_command(cmd=async_cmd, tmp=None) # clean up after