files.stat: Expose path in returned result

This is needed to apply subsequent operation on tested path
reviewable/pr18780/r1
anatoly techtonik 10 years ago
parent db5668b84c
commit 7f9305b24e

@ -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…
Cancel
Save