ansible/ansible — pull request #249 by jhoekx (2012-04-26 13:04:33+00:00)
Title: Return the octal mode of a file instead of decimal.

`ansible node -m template -a "dest=/root/... src=templates/root/... mode=755" `

The file module returned output like:

```
node | success >> {
"changed": true,
"group": "root",
"md5sum": "68de71f98247453c169a96ebe6aab59f",
"mode": 493,
"path": "/root/...",
"state": "file",
"user": "root"
}
```

While correct, the mode is confusing, especially given the arguments. This commit changes it into:

```
node | success >> {
"changed": false,
"group": "root",
"md5sum": "68de71f98247453c169a96ebe6aab59f",
"mode": "0755",
"path": "/root/...",
"state": "file",
"user": "root"
}
```