title: Return Values of Ansible Commands
body: <p>I am trying to find the return values of Ansible commands so I can better program in Ansible Playbooks. Using <strong>stat</strong> as an example. I don't see any any of the return values listed in the documentation. 
  <a href="http://docs.ansible.com/stat_module.html" rel="noreferrer">http://docs.ansible.com/stat_module.html</a></p>
  
  <p>I am however able to find them by doing adhoc commands. Is there a better way? Perhaps they are not documented because it is OS specific in each instance. </p>
  
  <p>For example:</p>
  
  <pre><code>ansible 12.34.56.78  -m stat -a "path=/appserver"
  12.34.56.78 | success &gt;&gt; {
  "changed": false,
  "stat": {
      "atime": 1424197918.2113113,
      "ctime": 1423779491.431509,
      "dev": 64768,
      "exists": true,
      "gid": 1000,
      "inode": 9742,
      "isblk": false,
      "ischr": false,
      "isdir": true,
      "isfifo": false,
      "isgid": false,
      "islnk": false,
      "isreg": false,
      "issock": false,
      "isuid": false,
      "mode": "0755",
      "mtime": 1423585087.2470782,
      "nlink": 4,
      "pw_name": "cloud",
      "rgrp": true,
      "roth": true,
      "rusr": true,
      "size": 4096,
      "uid": 1000,
      "wgrp": false,
      "woth": false,
      "wusr": true,
      "xgrp": true,
      "xoth": true,
      "xusr": true
  }
  }
  </code></pre>