From 7f9305b24e63b411a00a2e036c2f8a694d7a327b Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Mon, 29 Sep 2014 17:59:23 +0300 Subject: [PATCH] files.stat: Expose path in returned result This is needed to apply subsequent operation on tested path --- files/stat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/stat.py b/files/stat.py index 8c717a395c4..2a9189e532e 100644 --- a/files/stat.py +++ b/files/stat.py @@ -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),