Created
May 23, 2017 09:36
-
-
Save kimegede/c7a915a8e275223757441dc2f0e03b73 to your computer and use it in GitHub Desktop.
Ansible stats out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- stat: | |
path: "/var/www/" | |
register: wwwstats | |
- name: debugging | |
debug: | |
var: wwwstats |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok: [127.0.0.1] => { | |
"changed": false, | |
"wwwstats": { | |
"changed": false, | |
"stat": { | |
"atime": 1495530997.6706622, | |
"attr_flags": "e", | |
"attributes": [ | |
"extents" | |
], | |
"block_size": 4096, | |
"blocks": 8, | |
"charset": "binary", | |
"ctime": 1495530996.6106622, | |
"dev": 2049, | |
"device_type": 0, | |
"executable": true, | |
"exists": true, | |
"gid": 1000, | |
"gr_name": "vagrant", | |
"inode": 1181860, | |
"isblk": false, | |
"ischr": false, | |
"isdir": true, | |
"isfifo": false, | |
"isgid": false, | |
"islnk": false, | |
"isreg": false, | |
"issock": false, | |
"isuid": false, | |
"mimetype": "inode/directory", | |
"mode": "0755", | |
"mtime": 1495530996.6106622, | |
"nlink": 3, | |
"path": "/var/www/", | |
"pw_name": "vagrant", | |
"readable": true, | |
"rgrp": true, | |
"roth": true, | |
"rusr": true, | |
"size": 4096, | |
"uid": 1000, | |
"version": "408914525", | |
"wgrp": false, | |
"woth": false, | |
"writeable": true, | |
"wusr": true, | |
"xgrp": true, | |
"xoth": true, | |
"xusr": true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment