Commit 13692311 by James Cammarata

Fix typo in run_command when sending data that is not binary

parent 824d4208
......@@ -1059,7 +1059,7 @@ class AnsibleModule(object):
if data:
if not binary_data:
data += '\\n'
data += '\n'
out, err = cmd.communicate(input=data)
rc = cmd.returncode
except (OSError, IOError), e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment