1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

files.stat: Expose path in returned result

This is needed to apply subsequent operation on tested path
This commit is contained in:
anatoly techtonik 2014-09-29 17:59:23 +03:00 committed by Matt Clay
parent cce5b600c0
commit 90091b1277

View file

@ -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),