Fix missing space in script action plugin.

pull/7861/head
Chris Church 11 years ago
parent ffaf442037
commit 615f70e3f4

@ -123,7 +123,7 @@ class ActionModule(object):
# add preparation steps to one ssh roundtrip executing the script # add preparation steps to one ssh roundtrip executing the script
env_string = self.runner._compute_environment_string(conn, inject) env_string = self.runner._compute_environment_string(conn, inject)
module_args = env_string + tmp_src + ' ' + args module_args = ' '.join([env_string, tmp_src, args])
handler = utils.plugins.action_loader.get('raw', self.runner) handler = utils.plugins.action_loader.get('raw', self.runner)
result = handler.run(conn, tmp, 'raw', module_args, inject) result = handler.run(conn, tmp, 'raw', module_args, inject)

Loading…
Cancel
Save