files.stat: Expose path in returned result
This is needed to apply subsequent operation on tested path
This commit is contained in:
parent
cce5b600c0
commit
90091b1277
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ def main():
|
|||
# back to ansible
|
||||
d = {
|
||||
'exists' : True,
|
||||
'path' : path,
|
||||
'mode' : "%04o" % S_IMODE(mode),
|
||||
'isdir' : S_ISDIR(mode),
|
||||
'ischr' : S_ISCHR(mode),
|
||||
|
|
Loading…
Reference in a new issue