Merge pull request #10 from techtonik/patch-1
files.stat: Expose path in returned result
This commit is contained in:
commit
e04ac864a5
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ def main():
|
||||||
# back to ansible
|
# back to ansible
|
||||||
d = {
|
d = {
|
||||||
'exists' : True,
|
'exists' : True,
|
||||||
|
'path' : path,
|
||||||
'mode' : "%04o" % S_IMODE(mode),
|
'mode' : "%04o" % S_IMODE(mode),
|
||||||
'isdir' : S_ISDIR(mode),
|
'isdir' : S_ISDIR(mode),
|
||||||
'ischr' : S_ISCHR(mode),
|
'ischr' : S_ISCHR(mode),
|
||||||
|
|
Loading…
Reference in a new issue