Sometimes the yaml output doesn't display as literal strings the output from commands like in the following fragment:
stderr: "DEBUG: Calling 'ls /tmp/tmpLsm5FK'\nDEBUG: stdout: file1\nfile2\nfile3\n\ \nDEBUG: stderr: \nDEBUG: returncode: 0\nDEBUG: Checking for 'file1' in 'ls' output\n\ DEBUG: Checking for 'file2' in 'ls' output\nDEBUG: Checking for 'file3' in 'ls'\ \ output\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/file1'\nDEBUG: stdout: -r-xr-xr-x\ \ 1 root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/file1\n\nDEBUG: stderr: \nDEBUG: returncode:\ \ 0\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/file2'\nDEBUG: stdout: -rw-rw-rw- 1\ \ root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/file2\n\nDEBUG: stderr: \nDEBUG: returncode:\ \ 0\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/file3'\nDEBUG: stdout: -rwxrwxrwx 1\ \ root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/file3\n\nDEBUG: stderr: \nDEBUG: returncode:\ \ 0\n"
Sometimes the yaml output doesn't display as literal strings the output from commands like in the following fragment:
stderr: "DEBUG: Calling 'ls /tmp/tmpLsm5FK' \nDEBUG: stdout: file1\nfile2\ nfile3\ n\ file1'\ nDEBUG: stdout: -r-xr-xr-x\ file1\n\ nDEBUG: stderr: \nDEBUG: returncode:\ file2'\ nDEBUG: stdout: -rw-rw-rw- 1\ file2\n\ nDEBUG: stderr: \nDEBUG: returncode:\ file3'\ nDEBUG: stdout: -rwxrwxrwx 1\ file3\n\ nDEBUG: stderr: \nDEBUG: returncode:\
\nDEBUG: stderr: \nDEBUG: returncode: 0\nDEBUG: Checking for 'file1' in 'ls' output\n\
DEBUG: Checking for 'file2' in 'ls' output\nDEBUG: Checking for 'file3' in 'ls'\
\ output\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/
\ 1 root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/
\ 0\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/
\ root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/
\ 0\nDEBUG: Calling 'ls -l /tmp/tmpLsm5FK/
\ root root 0 Oct 25 13:01 /tmp/tmpLsm5FK/
\ 0\n"