ansible/ansible — pull request #9022 by cyberj (2014-09-16 14:09:11+00:00)
Title: Remove xterm escape sequences from output

When working with a server which use xterm escape squences (ex: dynamic title, see http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#s3 ) I have the following error:

```
$ ssh root@myserver tail -n 2 /root/.bashrc
echo -en "\033]0;${USER}@$(hostname)\007"

$ ansible -i hosts -u root -m setup myserver
myserver | FAILED >> {
"failed": true,
"msg": "\u001b]0;root@myserver\u0007/usr/bin/python: can't open file '\u001b]0': [Errno 2] No such file or directory\r\n/bin/sh: 1: root@myserver\u0007/root/.ansible/tmp/ansible-tmp-1401869953.18-104973309409260/setup: not found\r\n",
"parsed": false
}
```
This patch fix this issue.