ansible/ansible — pull request #484 by jonten (2012-06-17 17:44:46+00:00)
Title: Proposed fix for raw output

Hi,

Here is a fix for removing the literal newlines we talked about on the mailinglist (http://groups.google.com/group/ansible-project/browse_thread/thread/220133ac44b8f1e0). Not sure if this is the right/best way to solve it and the output still contains some brackets and stuff but it outputs data on separate lines like in the "ls -l /tmp" example below:

mytesthost | success >> {
"stdout": [
"total 4",
"-rw------- 1 user user 0 2012-06-01 10:44 testing.txt",
"drwx------ 2 root root 4096 2012-05-20 17:57 vmware-root"
]
}

Cheers,
//Jon