Fix typo in run_command when sending data that is not binary

pull/6477/head
James Cammarata 11 years ago
parent b1a37dcc08
commit 5233d4bc31

@ -1082,7 +1082,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:

Loading…
Cancel
Save