From 6e3ec9ccc0dec04cc58f7dda676a9e2fae2f239e Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Mon, 12 Aug 2013 17:34:54 +1000 Subject: [PATCH] expand user home path in stat. --- library/files/stat | 1 + 1 file changed, 1 insertion(+) diff --git a/library/files/stat b/library/files/stat index c1d58995c3..a1e142acb4 100644 --- a/library/files/stat +++ b/library/files/stat @@ -67,6 +67,7 @@ def main(): ) path = module.params.get('path') + path = os.path.expanduser(path) follow = module.params.get('follow') try: